[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is there a way to run Lua source as .bat file?
- From: Xavier Wang <weasley.wx@...>
- Date: Sat, 12 Jul 2014 20:42:14 +0800
> Probably you could change the label to be one that's valid in both, and then
> put the Lua label immediately afterward:
>
> goto myLabel
> ::myLabel::
>
> print("Hello world")
>
> --[[
> :myLabel
> @echo "Hello shell!"
> ::]]
>
> --
> Sent from my Game Boy.
But it will print "goto myLabel" on cmd console, Is there any way to avoid it?
--
regards,
Xavier Wang.