求教各位高手,本人刚刚学习em-plant
* M, o" A" c/ O5 F, `3 j$ r9 H按着皮托的教程来做的,做到fram_4的那里就出问题了。; o$ y; D9 E8 D" s1 p) @
reword里运行总是出错3 m( S- z& ]% J, h6 ~8 k( T0 |
is! B l% ~$ {4 [- p, W& n7 l
do
; T% c$ v. L8 U: P: K6 d counter:=counter+1;
6 C% T. ^2 k) z4 ~6 ~ \- e print counter;/ O8 H. ]2 m% J4 c2 [5 B% E, S
9 h. N7 _7 `6 C$ s! a8 L if counter=10% W/ G/ Y3 U- w8 p
then @.quality:="bad";
& T) ?% b: U, C counter:=0;
( _) A& X- j4 E else @.quality:="GOOD";- ^- x$ @3 I9 {- C+ b6 N
end;
2 `) l3 \. E5 B, K2 X) P. q
' S) N5 K8 m* ^- R. D5 v# q print @.quality;
7 `8 M* E9 g* b5 O/ M0 @ @.move;
2 D; Q1 J* E2 ] m3 Rend;& f- O, c, f( L+ ^" l2 j
不是这句then @.quality:="bad"; w& r6 m* g7 b) W# g4 U. e6 o0 `
就是这句else @.quality:="GOOD";, s( G q) K- ]2 b5 ~/ j
6 @2 E5 c# u. o: P( d
8 d7 ?2 K9 G8 p/ I g$ i1 }还有在console里的信息是这样的:
/ p8 {1 w$ E# U) O+ dInit ...( |2 U* P* |8 J
1
m W( J& t7 P& i8 i! ]& H% n- YError in method '.Models.Frame_4.reword' in line 9: Unknown identifier quality
3 T+ b, m" E$ F6 `8 X( i) W& m
, Y2 O2 R9 T4 d1 A但是我下载了别人的运行就可以~~/ G3 X9 V# M( o: o
究竟是怎么回事~?; k1 s; k; Z( m( ~7 Y
请各位高手帮忙!
# a6 z3 Q u; k! C8 R5 Z谢谢~ |