设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7774|回复: 3

[求助] 求解决个语法上的问题

  [复制链接]
发表于 2016-2-23 16:45:22 | 显示全部楼层 |阅读模式
2仿真币
if @.destination.Load_p31 then- U  N0 f7 Q1 ]: U
                P31.cont.move(@);2 p% i: k- g9 V, {. z
5 g7 s+ P4 H. w! _4 t5 `1 L7 x
意思是如果小车的目的地是Load_p31那么才进行装卸~9 T9 p. Y2 `& l! c% i# D
第一句语句错误,有没有大神可以指导下?# t( H- O/ w# w( r) N+ I* M: {! {

, ~9 b% F. P9 T) ^; a

最佳答案

查看完整内容

if @.destination=Load_p13 then ...... end;
发表于 2016-2-23 16:45:23 | 显示全部楼层
if @.destination=Load_p13 then, Z* T1 {7 u" v# w/ P* N
    ......* f, E& }8 _7 p# c0 |& [. F0 k
end;
 楼主| 发表于 2016-2-27 11:35:38 | 显示全部楼层
墨冰 发表于 2016-2-23 16:45 ! b' \8 ?+ O7 `9 X
if @.destination=Load_p13 then; C# \2 P' Y! o: i
    ......
2 S. y; Y5 `( v. y: Hend;

8 O" i  U: u0 {% s谢谢了哈~
发表于 2016-5-16 11:39:22 | 显示全部楼层
if @.destination=Load_p13 then. s( J& E/ ]* {) n% a' ^' g/ \- x- W3 z- p
    ......
, }8 {5 z3 f' w4 y7 P! {end;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2026-7-6 07:59 , Processed in 0.015046 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表