for i=1 to 8 do (if i == 5 do continue; print i) -- 1..4、6..8 を出力します。
while not eof f do -- ファイルの終わりに達するまで読み込みます。
(
local line=readline f -- 行を読み込みます。
if line[1] = = "-" do continue -- コメント行の場合は、スキップして次の行に移ります。
line1=parser1 line -- parser1 関数を呼び出します。
processobjs line1 -- processobjs 関数を呼び出します。
)
continue が for ... collect ループ内で実行されると、そのループ反復の式の結果は本体値の配列で収集されません。
例:
for i=1 to 8 collect (if i = = 5 do continue; i) -- #(1, 2, 3, 4, 6, 7, 8) を返します。