Model 2461 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference2461-901-01 A/November 2015 8-99script.delete()This function deletes a script from the run-time memory and nonvolatile memory.Type TSP-Link accessible Affected by Where saved Default valueFunction NoUsagescript.delete(scriptName)scriptName A string that represents the name of the scriptDetailsWhen a script is deleted, the global variable referring to this script is also deleted.You must delete an existing script before you can use the name of that script again. Scripts are notautomatically overwritten.Examplescript.delete("test8") Deletes a user script named test8 fromnonvolatile memory and the global variablenamed test8.Also seeDeleting a user script using a remote interface (on page 7-9)scriptVar.save() (on page 8-100)script.load()This function creates a script from a specified file.Type TSP-Link accessible Affected by Where saved Default valueFunction NoUsagescript.load(file)scriptVar = script.load(file)file The path and file name of the script file to load; if scriptVar is not defined,this name is used as the global variable name for this scriptscriptVar The created script; a global variable with this name is used to reference thescriptDetailsThe named that is used for scriptVar must not already exist as a global variable. In addition, thescriptVar name must be a global reference and not a local variable, table, or array.For external scripts, the root folder of the USB flash drive has the absolute path /usb1/.