When you create a script using the script.new() function without providing a name, the script is
added to the runtime environment as an unnamed script. The script.new() function returns the
script, but the script is not added to the script.user.scripts table.
When the anonymous script is loaded, it does not have a global variable or an entry in the
script.user.scripts table. If there is an existing anonymous script, it is replaced by the
new one.
When the instrument is turned off, everything in the runtime environment is deleted, including the
scripts and global variables.
See the figure below to see how the scripts, global variables, and script.user.scripts
table interrelate.
Figure 102: Global variables and scripts in the runtime environment