1. phix and goto label
- Posted by begin Mar 03, 2018
- 1101 views
hi, is there a way, regular or by tricks to get a goto label?
just so you know, i am not a friend of this, but there are times that is needed.
richard
2. Re: phix and goto label
- Posted by petelomax Mar 03, 2018
- 1100 views
There is no hll goto, but you can do this with inline assembly:
#ilASM { jmp :somelabel } ... #ilASM { ::somelabel }
They never made it into the formal documentation, but you can find some notes on this at line 1098 of Phix\pops.e, also see "Global Labels" at line 1273.
Be warned that some of those ancient scribbles may now be wildly out-of-date!
Regards,
Pete