loop有吧 / F+ `$ L% b% ]1 Q: Tloop 8 W7 a% F. V# d7 jloop [ commands ]+ c' H0 H/ `) I7 J
Runs the list of commands forever, or until the current procedure exits through use of the stop9 b0 z x; g9 g- t' e
command or the report command. ) a$ q* ?3 n& X* E- j* d5 yNote: In most circumstances, you should use a forever button in order to repeat something forever. * i0 _. O& Q) R2 _The advantage of using a forever button is that the user can click the button to stop the loop# H6 ~6 m4 M/ b% ^3 j
+ H: i; r2 }9 u) F# z+ x
(version 3.1.3) - L# T! y( R+ r3 M# T& Z' G不过好像不大推荐
globals[p ]) A# e) j, M7 Y
to setup( w! e( y; f' ?% a# _
set p 1( ]. x5 P1 {- K# H- s' d5 g# L
set p p + 12 b7 F( L7 I, d7 a8 }) b# X
show p9 g, D O, Y0 J5 V! k$ l1 m
end ) H2 }% z3 @) b5 l9 R' N我想表达的是让这个循环一直下去,直到p=100时才停止,logo语言该怎么写呢?除了repeat,可否用其它原语表示。 ( O5 p6 I+ Z( t! {" I f x& ^! Z6 Q2 p1 s: n# w: ?0 I* q2 G
[ 本帖最后由 wjcpcahu 于 2008-4-11 10:25 编辑 ]