设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7523|回复: 3

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

  [复制链接]
发表于 2016-2-23 16:45:22 | 显示全部楼层 |阅读模式
2仿真币
if @.destination.Load_p31 then0 ?5 j( T4 c  m4 e
                P31.cont.move(@);
5 ]( U; H/ q6 x% M% ?/ q: v; e  e. Z
意思是如果小车的目的地是Load_p31那么才进行装卸~3 s4 M9 b/ N  D2 f$ f
第一句语句错误,有没有大神可以指导下?
5 G! l; M! c# a( r
0 ^3 H8 i+ {  A4 H! i

最佳答案

查看完整内容

if @.destination=Load_p13 then ...... end;
发表于 2016-2-23 16:45:23 | 显示全部楼层
if @.destination=Load_p13 then$ p" }: o, {* o; c& J- A+ o
    ......3 W' k/ f3 I9 Q( K# v# l
end;
 楼主| 发表于 2016-2-27 11:35:38 | 显示全部楼层
墨冰 发表于 2016-2-23 16:45
+ J5 W! s5 R$ q) Yif @.destination=Load_p13 then
! o9 i  Z0 l" ^% j    ....... Y# L  u& `* w" @2 w. F# Z
end;

& ^$ s7 n" ]2 l8 x2 X! \. J1 P谢谢了哈~
发表于 2016-5-16 11:39:22 | 显示全部楼层
if @.destination=Load_p13 then. s( J& E/ ]* {) n% a' ^) }; K! p6 N3 f
    ......# \% ~1 s! u, V5 |  B( M* W
end;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-4-29 16:53 , Processed in 0.015697 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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