lua-users home
lua-l archive

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


It was thus said that the Great Dirk Laurie once stated:
> 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.

  One function or two?  Because the two seem orthogonal to me.

  -spc