设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6739|回复: 3

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

  [复制链接]
发表于 2016-2-23 16:45:22 | 显示全部楼层 |阅读模式
2仿真币
if @.destination.Load_p31 then; @* Y( K1 r4 G) D2 a
                P31.cont.move(@);8 v  W" ^; I0 n9 c1 W" V! A/ V
; f0 Z( W% ^% g8 M) t) q6 `. |8 g, p
意思是如果小车的目的地是Load_p31那么才进行装卸~6 A5 K1 W: I, M$ ~% Y/ t
第一句语句错误,有没有大神可以指导下?6 B+ o( c, P' Q1 G9 e% d
& t7 ?/ K: d# Q' `+ d

最佳答案

查看完整内容

if @.destination=Load_p13 then ...... end;
发表于 2016-2-23 16:45:23 | 显示全部楼层
if @.destination=Load_p13 then
5 Q2 e. {# g5 b+ B$ m    ......3 \9 h6 L7 B. ~
end;
 楼主| 发表于 2016-2-27 11:35:38 | 显示全部楼层
墨冰 发表于 2016-2-23 16:45
4 g! `" [4 d5 k: Tif @.destination=Load_p13 then
1 D  P. {  b, S    ......, P6 x" ]& }! m+ W, v, b
end;
" I% e9 w# c# B! T( k: T! B' C$ _
谢谢了哈~
发表于 2016-5-16 11:39:22 | 显示全部楼层
if @.destination=Load_p13 then. s( J& E/ ]* {) n% a' ^, D2 U# B2 E* e
    ......
: e' K5 h' h5 X+ ^5 Y' ]/ r7 K. ~! Pend;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-12-20 14:06 , Processed in 0.019736 second(s), 15 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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