[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Looking for code samples using goto and labels
- From: KHMan <keinhong@...>
- Date: Sun, 24 Feb 2013 16:20:08 +0800
On 2/24/2013 3:50 PM, marbux wrote:
On Sat, Feb 23, 2013 at 11:30 PM, KHMan wrote:
Does anyone have Lua 5.2 code that use 'goto'? (Regretfully, I have been
real tardy about moving my own code towards 5.2...)
I am looking to collect a few snippets from freely available code as
real-world samples for use as Scintilla/SciTE test cases.
Several example uses at<http://lua-users.org/wiki/GotoStatement>.
Thanks, the Lua Wiki is, as always, a dependable first-class
reference and code snippet go-to choice, even for goto. ;-) My
compliments to the many contributors.
I guess most usage types will be like those in the wiki, so there
isn't any syntax highlighting difficulty. I'll wait a bit and see
if there are any offered examples of 'spectacular' usage of goto
(which could also be instructive as a sample of extensive goto
usage in modern scripting code.)
Thanks to all replies,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia