求教各位高手,本人刚刚学习em-plant
& [% l% K/ ^( i. @% k* Z5 P按着皮托的教程来做的,做到fram_4的那里就出问题了。1 p0 _/ u. \# ?4 t# c& }/ F
reword里运行总是出错
) f/ J6 q, X& n- m% J7 fis+ L4 ?! S9 O* k: T& t% u+ z
do- F" [; y0 Q4 Z& q3 w
counter:=counter+1;
. C" Q4 o" |" E; ~' e: {( _ print counter;% R" I2 h- q! q
7 [/ t d$ {9 Q0 g. [
if counter=10, Y* D% T' g, t$ k8 l- i- b! U6 |* u
then @.quality:="bad"; U2 Y {9 {: G6 |. S" C
counter:=0;
0 U9 j& D( b g, L5 r else @.quality:="GOOD";+ h- \' H9 B) {* r0 j& D
end;4 m% F/ ]% {" f4 ]- q' v
& u0 |4 r1 P& U+ E2 R: B2 o
print @.quality;3 D( s. F' `- Z, `' ~( p
@.move;
7 {, u+ N8 j) X4 D; i& I* Kend;
% w# ]/ [5 q' _: k4 g; B不是这句then @.quality:="bad";
4 m% I: v0 Y7 n6 J! F" U7 N( Z就是这句else @.quality:="GOOD"; e0 j3 k: Q- w# p
" C3 i A5 H% [- w8 [. J. T4 x
& Q* o/ M0 J i; \7 v7 ]还有在console里的信息是这样的:
9 } U. e" J' \# M$ cInit .../ m/ A$ H, k' P( M$ V+ h$ g( R
1
( w6 N# C9 Y7 k1 x* r9 M$ qError in method '.Models.Frame_4.reword' in line 9: Unknown identifier quality
$ c! V; Y: D7 f1 I* P4 r; X% v! P0 E" f6 w
但是我下载了别人的运行就可以~~ u8 `0 n1 j% K# q; K; O
究竟是怎么回事~?
2 D6 U. B K) r" e# A1 K请各位高手帮忙!
* Y, Q) m; B- q* v谢谢~ |