Re: Can goto target a variable string label? If so, syntax?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Can goto target a variable string label? If so, syntax?
- From: Paul Merrell <marbux@...>
- Date: 2013年11月23日 19:22:45 -0800
On Sat, Nov 23, 2013 at 5:29 PM, Craig Barnes <craigbarnes85@gmail.com> wrote:
> The goto statement takes a name, rather than an expression[1]. It gets
> compiled as a JMP to a bytecode offset, so there's no way to use
> variable labels.
Thanks for the education. I need a lot more of that.
Does anyone object to adding that information to the wiki page at
<http://lua-users.org/wiki/GotoStatement>?
Paul
--
[Notice not included in the above original message: The U.S. National
Security Agency neither confirms nor denies that it intercepted this
message.]