Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Itv_var method sets and returns the values of global variables.

...

Code Block
languagejavascript
function  Itv_var (globalvar : String) : String

Method arguments:

globalvar - Required Globalvar − required argument. The name of the global variable. It takes the following values:   Type – String, satisfying the rules for the names of the string parameters in the Windows registry.

Global variables are stored in the Windows registry to maintain their values after Windows restart. All global variables are stored in the registry branch  HKEY_USERS\S-1-5-21-…\Software\ITVScriptVMSScript\ITVSCRIPT VMSSCRIPT and HKEY_CURRENT_USER\Software\ITVScriptVMSScript\ ITVSCRIPTVMSSCRIPT. To access a global variable directly from the registry, search the registry for it by its name.

...