求教各位高手,本人刚刚学习em-plant
, K2 f- g3 Q; b* `/ _; W按着皮托的教程来做的,做到fram_4的那里就出问题了。3 Q- U" L) y8 ?3 Z3 ^. x( l& U* S
reword里运行总是出错, [0 @# K% B+ Y% L3 q; x) w
is
& B. u: X" y4 s& }, E" c: `0 Rdo( a7 a2 s# Q) d( q- s
counter:=counter+1;
7 G# r3 i$ R, M% l4 G# |* y print counter;
0 ]) }* i( I. w* C/ e
# N2 W3 y; d/ X if counter=10" p2 }' o! S' [* ^0 c+ R5 [
then @.quality:="bad";
6 G- D. \) K4 ~( ~' g) i counter:=0;
. X* \% P1 |% ~( N: i; } else @.quality:="GOOD";
V# C* D& ^/ ~" w: c# ], v end;
# \/ H* `% l9 a& x" w- f 7 F! s1 ^# }. A7 L* |
print @.quality;4 D, D" w$ p5 Y: a
@.move;6 H4 H- [7 |$ l& H2 q
end;/ S8 h f9 T9 @% W
不是这句then @.quality:="bad";1 O: g% @- ]) V5 l6 L% v7 t" c
就是这句else @.quality:="GOOD";3 W) y. i/ ~" w2 W
" x) o. h2 Z5 i. p
" H0 @8 K# B% w还有在console里的信息是这样的:
0 J0 A1 m, ^2 Y" L! d8 S' K; ~Init ... X; E5 r+ \. |9 ?2 _
1
& f- P- h& v$ y QError in method '.Models.Frame_4.reword' in line 9: Unknown identifier quality7 ?2 g' T6 D' X8 v& Z
. G5 q( ^* ?7 c9 }- Z) q/ G
但是我下载了别人的运行就可以~~, T9 D! d7 y8 S1 `* M3 Q
究竟是怎么回事~?
/ o/ x2 W9 X0 e9 j% m# @请各位高手帮忙!
3 e `8 s3 ]6 { s谢谢~ |