[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua analog of Python's __ main__
- From: Michael Nelson <mikestar1313@...>
- Date: Tue, 9 Feb 2021 10:20:31 -0800
Is there an easy way for a Lua script to determine whether it was
launched directly from the interpreter/host program or it was required
into a another script?