lua-users home
lua-l archive

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


Jeff Pohlmeyer wrote:
I think you want to test for empty string, that is not the same as nil.

Empty string in Lua usually isn't considered as "no value", it is just one of all the possible strings.

In Windows, the end of input is Ctrl-Z, in Linux - Ctrl-D (not sure in the latter).

--
Shmuel