lua-users home
lua-l archive

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

On Sat, Jul 12, 2014 at 4:47 AM, Xavier Wang <> wrote:

I have found this archine:

But, now, goto is a keyword for Lua, So the goto =goto is not work. Is
there other ways to make a Lua source file both a valid batch file?

Xavier Wang.

Probably you could change the label to be one that's valid in both, and then put the Lua label immediately afterward:

goto myLabel

print("Hello world")

@echo "Hello shell!"

Sent from my Game Boy.