7: TSP command reference Series 2600B System SourceMeter® Instrument
7-162 2600BS-901-01 Rev. B / May 2013
script.anonymous
This is a reference to the anonymous script.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (R) No
See
See
Not applicable
Usage
scriptVar = script.anonymous
The name of the variable that references the script
Details
You can use the script.anonymous script like any other script. Also, you can save the anonymous script as a
user script by giving it a name.
This script is replaced by loading a script with the loadscript or loadandrunscript commands when they
are used without a name.
Example 1
Displays the content of the anonymous
Example 2
print(script.anonymous.source)
Retrieves the source of the anonymous
script.
Also see
Anonymous scripts (on page 6-3)
scriptVar.autorun (on page 7-168)
scriptVar.list() (on page 7-169)
scriptVar.name (on page 7-170)
scriptVar.run() (on page 7-171)
scriptVar.save() (on page 7-172)
scriptVar.source (on page 7-172)