lua-users home
lua-l archive

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


Hello,

you can actually do the following:
print("Message")
os.exit()

to receive the same result.

Actually if I also want a stacktrace I usually use:
error("Message")
whats more like an "exception".

- Jan

Anurag Sharma schrieb:
There is a Die command in perl which terminates the program immediately and prints the message

Die("Message");

Is there any equivalent in Lua.. If yes, what is it?

Also, is there any tutorial or guide that teaches Lua to perl programmers.

thanks
Anurag