Trtcou
trtcou returns the name of the current script.
Syntax
trtcou
Examples
# Let's find the current script
CURRENT_SCRIPT=trtcou
# Another function can also be used
CURRENT_SCRIPT=adxpno(0)
Description
The trtcou function returns the name of the current script in the following format:
[email protected]/SCRIPT$adx
With the following values:
serveris the server name, and it is empty if the server is the same as the execution server.FOLDERis the folder name where the script has been found.TRTis the subfolder where the script is found (usually TRT).SCRIPTis the script name.$adxis a constant that corresponds to the extension of the executable (compiled) script.
The type of the result is Char.
Associated errors
No associated error.