lua-users home
lua-l archive

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


> 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.