loop有吧 $ V) |- a7 ?# @( ^4 n. x0 aloop ( z2 n' y$ |# t( y) j% @loop [ commands ] g! v3 B& B5 h3 ?$ L0 vRuns the list of commands forever, or until the current procedure exits through use of the stop ) e/ l) K. D2 `3 s' Kcommand or the report command.1 g( j3 D( f& {3 _8 T0 P- J3 J
Note: In most circumstances, you should use a forever button in order to repeat something forever. ( P: \# V& d5 i! mThe advantage of using a forever button is that the user can click the button to stop the loop8 i4 Q: F: a: n3 z. Y4 q
! U" y8 g( ~$ {0 R# j+ S/ f
(version 3.1.3)' t+ k) r5 L: Z# B4 ~" O
不过好像不大推荐
globals[p ]/ X3 T, S% h. d) q! e+ j, u/ ^+ ~
to setup 6 f; V, _9 ?% m set p 1 4 E G, ?7 ~( \. y: J4 _ set p p + 1 $ Z$ S ^- k$ _" J$ W4 M/ b( B9 o show p 2 v6 L) J% X# U. }) D! y; V; r) D end 0 n, }" _6 }4 P7 E我想表达的是让这个循环一直下去,直到p=100时才停止,logo语言该怎么写呢?除了repeat,可否用其它原语表示。 k; \, b& h. v. R# a" [, N/ I3 f; L* p* y: b- U# R
[ 本帖最后由 wjcpcahu 于 2008-4-11 10:25 编辑 ]