Re: Well I did it! (variable_id, etc..)
- Posted by Greg Haberek <ghaberek at gmail.com> Nov 26, 2004
- 699 views
> Makes goto look easy, eh? I hate to cave in, but yes. Simply inserting this, amongst a few others, *could* cause goto to work. However, It would kinda screw with the logic flow of the interprerter, which is why I believe Rob has avoided it for so long. It's just plain messy, and that's now what he wants for the language.
-- GTH procedure opGOTO() -- set next instruction to our 'jump' label integer jump jump = Code[pc+1] pc = jump -- usually this is pc+2 for the next inline instruction end procedure