Skip to content

clearGlobals

MicroBlaster edited this page Sep 16, 2019 · 1 revision

Purpose: Clears all global variables from memory.

Syntax: clearGlobals

Notes: Use with caution, as other scripts may be using globals.

Example:

#Sendng script
clearGlobals
saveGlobal $CommandOptions
load "script2.ts"

#Receiving script
loadGlobal $CommandOptions
Clone this wiki locally