lua-users home
lua-l archive

Re: Extract Current Script Name

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


Michael Elliott wrote:
Hello,
How can I programmatically determine what the current
script is that is executing from within the script
itself?
In a Bourne shell script for example I would commonly
use something like: SCRIPTNAME=`basename`
Thanks,
Michael
SCRIPTNAME = arg[0]

AltStyle によって変換されたページ (->オリジナル) /