Re: Well I did it! (variable_id, etc..)
- Posted by "Kat" <gertie at visionsix.com> Nov 26, 2004
- 652 views
On 26 Nov 2004, at 15:32, Greg Haberek wrote: > > > 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. > > > }}} <eucode> > -- 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 > </eucode> {{{ I wish i had more than 3 weeks to use it. Kat http://TiggrBox.Info