Trtcou
trtcou
returns the name of the current script.
trtcou
# Let's find the current scriptCURRENT_SCRIPT=trtcou# Another function can also be usedCURRENT_SCRIPT=adxpno(0)
The trtcou
function returns the name of the current script in the following format:
server@FOLDER.TRT/SCRIPT$adx
With the following values:
server
is the server name, and it is empty if the server is the same as the execution server.FOLDER
is the folder name where the script has been found.TRT
is the subfolder where the script is found (usually TRT).SCRIPT
is the script name.$adx
is a constant that corresponds to the extension of the executable (compiled) script.The type of the result is Char.
No associated error.