Variable: CurrentScriptName

DIAdem 2018 Help

Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)

DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help
DIAdem 2020 SP1 Help

Specifies the name of the script file currently running.

Definition CurrentScriptName, String variable
Access: Read only

The variable only receives a value when the script is running. When the script has finished, the variable receives an empty string.

If you use ScriptInclude to integrate a script, the CurrentScriptName variable in the main part of the integrated script contains the name of the integrated script file. However, if you call procedures and functions of the integrated script, the CurrentScriptName variable contains the name of the calling script file.

Used by

Program Variables in Commands


Not Helpful