<< Click to Display Table of Contents >> Navigation: Reference > Commands > GLOBAL |
The form of the GLOBAL command is one of the following:
GLOBAL x $ = labels,
GLOBAL x # = labels,
GLOBAL x $ UNSET,
GLOBAL x # UNSET,
where x may be any of the text items BT, FT, HT, IT, VT, XT, FL, V, H or X.
The effect is to set or unset a text string for the appropriate item. When set, this text is allocated to every table or variable (depending whether # or $ is specified) that is defined for the first time thereafter in the code, until the GLOBAL text is redefined or UNSET.
A GLOBAL setting can be overridden by a text definition that is attached to a specific table or variable by name.
IMPORTANT: GLOBAL V H FL and X labels are only allocated to tables and variables that have the appropriate number of rows/columns/elements.
IT (Identifier Title) texts cannot be set for variables.
The FILTER command causes the GLOBAL BT# to be set implicitly if the variable in the FILTER command has a V or X text assigned. FILTER OFF causes this implicit GLOBAL BT# to be UNSET.
Examples of GLOBAL text settings:
global bt# = 'All respondents',
global v$ = "Men;Women;Monkeys;don''t know",
global it# unset,