CommandName

Typeexpression
DictionaryLCB
LibraryLiveCode Builder
Syntax
the command name
Associationscom.livecode.system
Summary

The command name

Example
-- Program that only succeeds if it's run as the "true"
-- command.
variable tCommand as String
put the command name into tCommand
if tCommand ends with "true" then
	quit with status 0
else
	quit with status 1
end if
Description

Evaluates to the name that was used to execute the program, possibly including path information.