5 .param pmc argv :slurpy
9 if argc != 4 goto bad_args
10 # get necessary conversion subs
12 compileTcl = get_root_global ['_tcl'], 'compileTcl'
13 .local pmc compileExpr
14 compileExpr = get_root_global ['_tcl'], 'compileExpr'
18 a_start = compileTcl(a_start)
21 a_test = compileExpr(a_test)
24 a_next = compileTcl(a_next)
27 a_command = compileTcl(a_command)
31 toBoolean = get_root_global ['_tcl'], 'toBoolean'
38 push_eh command_exception
42 push_eh next_exception
50 if $I0 == .CONTROL_CONTINUE goto continue
51 if $I0 == .CONTROL_BREAK goto done
57 if $I0 == .CONTROL_BREAK goto done
63 die 'wrong # args: should be "for start test next command"'
70 # vim: expandtab shiftwidth=4 ft=pir: