Will Coleda <[EMAIL PROTECTED]> wrote: > But, why did it compile one way and not the other? And why would the > program with the subs switched print out whee indefinitely? I would > expect it to print whee once, then create a sub object, then die.
It did compile, because the label was known. And: $ parrot -t t.imc PC=0; OP=960 (print_sc); ARGS=("whee\n") whee PC=2; OP=225 (newsub_p_ic_ic); ARGS=(P0, 31, -2) PC=6; OP=<err> Error: Control left bounds of byte-code block (now at location 6)! So it just depends, what you happened to have at that memory location. Could have been a branch opcode starting again at PC=0. leo