loop有吧 ) d \7 B1 }( O) H" e" m6 S9 n! l- F! Rloop& x6 J" m n: {) i0 u8 s2 U% e
loop [ commands ]/ Z! ?/ l0 N- j' ^; u4 `8 x
Runs the list of commands forever, or until the current procedure exits through use of the stop* q2 G% ]& }1 W( k8 o) ]
command or the report command.% u+ f. |6 n- _( e" O7 e7 @
Note: In most circumstances, you should use a forever button in order to repeat something forever. % _) m6 n- H8 zThe advantage of using a forever button is that the user can click the button to stop the loop % `6 Z; L2 D/ B- e* i( N! W" i* ~: D
(version 3.1.3); q! A8 N( N! K$ K6 D: d5 r
不过好像不大推荐
globals[p ] ) d3 ], ^2 L' a* ]0 {9 ?9 Y" dto setup+ u/ u+ d- _% |3 |
set p 1! D3 p; s2 v1 j5 j. i* c( A
set p p + 1' D' i$ A& F1 q
show p 1 i0 [' P# i; C; [, j end # V) o9 P: @0 \/ f我想表达的是让这个循环一直下去,直到p=100时才停止,logo语言该怎么写呢?除了repeat,可否用其它原语表示。 + P q% ?0 a4 a9 i, u 0 x8 J/ W- |# k# m3 d d[ 本帖最后由 wjcpcahu 于 2008-4-11 10:25 编辑 ]