GLOBALS GLOBAL-VARIABLES GLOBAL-VARS GVARS

From 4Dimensions
Jump to: navigation, search

GLOBALS GLOBAL-VARIABLES GLOBAL-VARS GVARS

GLOBALS GLOBAL-VARIABLES GLOBAL-VARS GVARS

GLOBALS GLOBAL-VARIABLES GLOBAL-VARS GVARS

GLOBALS GLOBAL-VARIABLES GLOBAL-VARS GVARS


Usage: global variablename

  • To make a variable 'reachable' from other scripts it has to be made 'global'.
  • In this case I make a local known var %has_bribed_guard% and make it global.
  • It's a good idea to use this in conjunction with context.

global has_bribed_guard


Used to change a variable from local to global. If a global variable is

modified, this command must be used to update the global contents as well.


Example: {cRTSTAT 45{c0


See Also: VARIABLES CONTEXT