loop有吧 # Z8 G0 z8 @8 y; oloop . X, `; G: ~* s( ?; F Y2 N5 b) vloop [ commands ], m- Z/ w" D/ ?! z6 B' O: ^
Runs the list of commands forever, or until the current procedure exits through use of the stop- I0 z$ q. M/ Z$ U2 q; j& ?
command or the report command. 7 ^9 {% H' j4 B3 G9 sNote: In most circumstances, you should use a forever button in order to repeat something forever. $ M% f- o. U6 M X* @5 SThe advantage of using a forever button is that the user can click the button to stop the loop 6 H8 x- H8 b0 ^* \8 `& X - V5 m$ R4 l/ h(version 3.1.3) 9 T! d1 x2 Y# w, N( ?4 j不过好像不大推荐
globals[p ] 5 Z, S4 W, e' h8 yto setup1 I3 d8 |- |* T: P* j
set p 1 # k& W. H; }2 } \, ^3 d set p p + 1 . u- n8 r# b9 b) j) z show p 1 B3 K$ _) M, g) U A: v: k end3 v- C6 t& l. m, g
我想表达的是让这个循环一直下去,直到p=100时才停止,logo语言该怎么写呢?除了repeat,可否用其它原语表示。 & a: P" e5 H; x( R8 E, K- z$ b% a/ n0 x5 ^ L" x
[ 本帖最后由 wjcpcahu 于 2008-4-11 10:25 编辑 ]