|
On Mon, Dec 26, 2005 at 09:07:39AM -0800, Jens Alfke wrote:This is incorrect. I very often stick return statements in the middle of C code, as a quick way to effectively comment out the rest of the function(In any case, a statement after an unconditional 'return' would be unreachable, so there's no valid reason to have one.)while debugging. -- Glenn Maynard
The lua equivalent would be: do return endThis can be put in the middle of a function, without making the parser unhappy.
-- Tim Gogolin