Re: [BUG] load_bytecode can print hello world

2004-03-11 Thread Leopold Toetsch
Jens Rieks <[EMAIL PROTECTED]> wrote: > Hi, > this time a funny bug :-) > 2. create a file hello.imc with the following content: > .emit > .pcc_sub @LOAD _onload: > print "foo\n" > end ^^^ It's called as a PCC subroutine, so you have to return from it via "invoke P1". I wrote that

[BUG] load_bytecode can print hello world

2004-03-10 Thread Jens Rieks
Hi, this time a funny bug :-) 1. create a file main.imc with the following content: .sub _main print "A\n" load_bytecode "hello.imc" print "B\n" end .end 2. create a file hello.imc with the following content: .emit .pcc_sub @LOAD _onload: print "foo\n" end .eom .sub _hel