设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3556|回复: 3

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

  [复制链接]
发表于 2016-2-23 16:45:22 | 显示全部楼层 |阅读模式
2仿真币
if @.destination.Load_p31 then& P) a6 O" J, ^8 _$ s+ a
                P31.cont.move(@);4 m& N: ?8 V/ B- Z8 s1 `

; f1 }$ q9 Y  F: `意思是如果小车的目的地是Load_p31那么才进行装卸~
1 e! n- ^1 a, y' t8 G6 b$ K第一句语句错误,有没有大神可以指导下?
' h2 x& [4 D* ?. M3 K5 X1 t# J$ w5 k

最佳答案

查看完整内容

if @.destination=Load_p13 then ...... end;
发表于 2016-2-23 16:45:23 | 显示全部楼层
if @.destination=Load_p13 then
$ p* ~$ z, j$ v% I" l: X. g! n    ......
/ z# _% ^9 s: X& V3 {" [end;
 楼主| 发表于 2016-2-27 11:35:38 | 显示全部楼层
墨冰 发表于 2016-2-23 16:45 ( S" h9 M& L% u) u7 B2 v
if @.destination=Load_p13 then
: ~7 |. K% e1 o- `: o( ]( M. H    ......
  Z4 K8 v( }1 G% U( e- @end;
" Y# S7 h4 c  l
谢谢了哈~
发表于 2016-5-16 11:39:22 | 显示全部楼层
if @.destination=Load_p13 then. s( J& E/ ]* {) n% a' ^
1 R8 \) |7 _) r" ]    ....../ x  H% Y2 z, K
end;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-6-6 02:24 , Processed in 0.013449 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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