loop有吧! e. U! w) N" w4 C" u6 W* y
loop ! g: N: P2 ]% H: v4 @: q6 xloop [ commands ]% [5 w+ K. H! y; Q1 a! j# O
Runs the list of commands forever, or until the current procedure exits through use of the stop + z% Y) X9 b4 ]command or the report command. & H* p; I" l2 I: S4 INote: In most circumstances, you should use a forever button in order to repeat something forever. / F% Y! K2 Y; q1 a! P- wThe advantage of using a forever button is that the user can click the button to stop the loop ) O- o k1 l# D3 {+ H/ h) P Z3 [8 ~" V$ i9 ?! f1 z
(version 3.1.3) * ]; D) F' p0 V a不过好像不大推荐
globals[p ]. p- o1 [5 [0 c* A/ g
to setup- L' t# B2 j5 w. c
set p 1 % D$ k8 B+ w* e set p p + 13 Z: Y+ u$ @4 W8 v' z, E
show p) r' r& t8 o" K. p
end * Y; {) d% u& ?1 X* ]* ~# s; G我想表达的是让这个循环一直下去,直到p=100时才停止,logo语言该怎么写呢?除了repeat,可否用其它原语表示。 ) u: x' T% w* ^' M( b6 M- v6 `% @" k# ^3 b# O& l) k. T
[ 本帖最后由 wjcpcahu 于 2008-4-11 10:25 编辑 ]