2.69. Variable *global*

Defines a global variable that will be available in all catalogs with the notation @@VARIABLE@@. Variable identifiers must begin with a capital letter, and can contain only word characters (A-Z,a-z,0-9 and underscore). They are case-sensitive.

   Variable   DOCUMENT_ROOT   /usr/local/etc/httpd/htdocs

Only variables with ALL CAPS names will be parsed in catalog pages or, when the ParseVariables directive is set, in catalog (not global) configuration directives (other than Variable itself). These are substituted first in any Interchange page, and can contain any valid Interchange tags including catalog variables. If a variable is called with the notation @_VARIABLE_@, and there is no catalog Variable with its name, the global Variable value will be inserted.

There are several standard variables which you should not set:

MV_FILE

MV_NO_CRYPT

MV_PAGE

CURRENCY, MV_CURRENCY

LANG, MV_LANG

Some global variables can be set to affect Interchange:

MV_DOLLAR_ZERO

Setting Result
(not set) 'interchange'
0 (do nothing)
1 'interchange --> (CATROOT)'
string 'string'