loop有吧 8 d% p* G" h3 E% h, eloop4 s" e8 z- V" O2 E/ J; V
loop [ commands ] ! v6 t' ~6 e) o- w \( LRuns the list of commands forever, or until the current procedure exits through use of the stop& ?! i+ V6 d7 X2 R0 y* \
command or the report command.1 I7 O5 K. b9 z, X
Note: In most circumstances, you should use a forever button in order to repeat something forever. . g/ u5 N' Y& I0 A! H( T) nThe advantage of using a forever button is that the user can click the button to stop the loop % |9 r6 v. \( G9 @; O2 f& `; G { V1 s! V% U% o! y+ P
(version 3.1.3) & u) @4 d* x* o7 c$ v2 i* O+ I不过好像不大推荐
globals[p ] 0 a8 d0 P7 \- G. K, e! mto setup- s% [; o6 U S% ]! D, y: E
set p 1& M! r' b1 g: Q- I
set p p + 16 @& X( X9 Q, z5 v4 J! y
show p ; k, Z7 R/ W- m6 C1 y end. c- N! K+ y5 O9 @
我想表达的是让这个循环一直下去,直到p=100时才停止,logo语言该怎么写呢?除了repeat,可否用其它原语表示。 2 T: W2 A# U d( u* ^! K& H, E4 F5 b5 }# a) U
[ 本帖最后由 wjcpcahu 于 2008-4-11 10:25 编辑 ]