lua-users home
lua-l archive

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

The meaning was that the return address is computed at compile time (by cpp). There's a '#LINE' or some directive for that.. Anyhow, I know my mail was fuzzy.. :)


13.9.2004 kello 20:47, Luiz Henrique de Figueiredo kirjoitti:

 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.