loop有吧 " G! z& P. f9 g' _' `# tloop& n$ U/ M" j a! f2 P& W
loop [ commands ]" L0 @% I$ m* c, y8 D9 I
Runs the list of commands forever, or until the current procedure exits through use of the stop ; [; Y$ h) P* ~ S& o$ Ccommand or the report command.) Q1 b6 |5 y" D* K1 d4 M
Note: In most circumstances, you should use a forever button in order to repeat something forever.7 T; k5 q+ f7 I8 V" t7 w
The advantage of using a forever button is that the user can click the button to stop the loop ) G- D7 u, ?: R9 k % O3 A" z5 `" X) G(version 3.1.3)! P/ L* l8 T% i0 R6 z/ C8 r `
不过好像不大推荐
globals[p ]. V% o, u, U3 ~3 q3 w, B) D+ g
to setup 0 b3 V, i. [8 t set p 1 u6 f4 J8 S, z5 z
set p p + 1! A( A% m/ M3 d/ K& w* G- Y
show p " A( _: T& S0 E5 @ end ( [" e( c! b& k; ^) z我想表达的是让这个循环一直下去,直到p=100时才停止,logo语言该怎么写呢?除了repeat,可否用其它原语表示。 $ r5 A: l/ y: d/ I+ m: p# Y- ?* B6 S! k6 I% k
[ 本帖最后由 wjcpcahu 于 2008-4-11 10:25 编辑 ]