VBScript » Statements » ExecuteGlobal

Syntax:
ExecuteGlobal(string)

The ExecuteGlobal statement takes a single string argument, interprets it as a VBScript statement or sequence of statements, and executes these statements in the global namespace.

To pass multiple statements to the Execute function you should use colons or line-breaks as separators.

Unlike the Eval function, Execute interprets all "=" operators as assignments rather than comparisons.