设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 8025|回复: 3

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

  [复制链接]
发表于 2016-2-23 16:45:22 | 显示全部楼层 |阅读模式
2仿真币
if @.destination.Load_p31 then( H5 J2 g" O& v9 e1 Y
                P31.cont.move(@);
! @- J# c: v: q
/ U2 n4 y9 }+ ^/ H8 S! N/ u7 @意思是如果小车的目的地是Load_p31那么才进行装卸~
+ [1 T. @& h( L5 U1 C! m6 w第一句语句错误,有没有大神可以指导下?. k0 P! b: A; c5 f: _# K* K7 m4 F
+ B2 O' s  D' C/ @; H% b# L

最佳答案

查看完整内容

if @.destination=Load_p13 then ...... end;
发表于 2016-2-23 16:45:23 | 显示全部楼层
if @.destination=Load_p13 then. {3 n( L/ U+ E9 W
    ......
! L  V9 ^' X, h" \* A% iend;
 楼主| 发表于 2016-2-27 11:35:38 | 显示全部楼层
墨冰 发表于 2016-2-23 16:45 / |0 u( @9 t' ~$ O
if @.destination=Load_p13 then
, t( M: g! ]4 j( E4 x    ......: D# n2 D. V% {3 H
end;
, ~1 m& E9 ~6 o/ Z3 D6 ~4 E. h
谢谢了哈~
发表于 2016-5-16 11:39:22 | 显示全部楼层
if @.destination=Load_p13 then. s( J& E/ ]* {) n% a' ^5 z1 ?. ?- T( w
    ......
& P* ~3 b  j8 [! c0 c. L4 ?end;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-7-27 08:14 , Processed in 0.014625 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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