loop有吧 4 j6 z/ H( Z, \1 c( _loop& I6 G. r" f6 G1 m
loop [ commands ] . J5 U; J2 k |/ ?1 W6 g7 fRuns the list of commands forever, or until the current procedure exits through use of the stop 3 f% `. G) X- b) v! |# m8 h* ocommand or the report command. 4 k3 j! h/ K( i+ @" |) _ ZNote: In most circumstances, you should use a forever button in order to repeat something forever. 6 I- S. ?) N2 Y( w9 ^- M! L3 QThe advantage of using a forever button is that the user can click the button to stop the loop, H' t& Z0 ^1 P. \+ s9 \3 ?
1 }$ U0 N4 g/ t0 E! f(version 3.1.3): ~, F. U6 Z' m7 ~0 F; Z9 h
不过好像不大推荐
globals[p ] ) y, j$ l$ o, W9 y ~- b* `to setup . [2 h t% C% W1 z6 z set p 1: M, ^# ], U: g
set p p + 1 3 Y/ |( j1 R! F3 z: |% a show p $ l2 p% Z$ g$ j0 Y end & b# s* f2 X' y5 ?& s我想表达的是让这个循环一直下去,直到p=100时才停止,logo语言该怎么写呢?除了repeat,可否用其它原语表示。 6 Z' C, l" U5 y: A# M7 h D, |$ Z, c" `- [0 L
[ 本帖最后由 wjcpcahu 于 2008-4-11 10:25 编辑 ]