lua-users home
lua-l archive

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


We have seen various ways on this list for package code to decide
whether it was invoked by require or load/loadfile/dofile, and whether
stdin is an interactive terminal. All have a strongly
implementation-dependent flavour. It would be nice to have a built-in
function for this purpose.