lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Well, you can emulate GOSUBs with GOTO, can't you.. (just conceptually,

Yes, but not in the way I did it: I rewrite the bytecode and so I needed
fixed JMP targets, not computed in run time, as in your __GOTO=__RETURN_TO.
 
I think the VM needs to be changed to support GOSUBs.
--lhf