Chapter 8. Intrinsic Special Variables

Revision History
Revision V7.1-006 03 December 2024
Revision V7.1-004 27 June 2024
Revision V7.1-003 23 November 2023
Revision V7.1-002 19 September 2023
Revision V7.1-001 26 June 2023
Revision V7.0-002 23 March 2022
Revision V7.0-001 24 November 2021
Revision V6.3-012 08 April 2020
Revision V6.3-009 27 June 2019
Revision V6.3-008 24 April 2019
  • In “$ZGbldir”, specify that NEWing $ZGBLDIR is the same as SET $ZGBLDIR=""; remove redundant information and the caution note.

Revision V6.3-007 04 February 2019
Revision V6.3-006 26 October 2018
Revision V6.3-005 29 June 2018
Revision V6.3-004 23 March 2018
Revision V6.3-003 12 December 2017
Revision V6.3-002 22 August 2017
Revision V6.3-001 20 March 2017
Revision V6.2-001 27 February 2015
Revision V6.1-000 28 August 2014
Revision V6.0-003 24 February 2014
Revision V6.0-001 21 March 2013

In “$ZCOmpile”, added a point about $ZCOMPILE returning a status of 1 after any error in compilation.

Table of Contents

$Device
$ECode
$EStack
$ETrap
$Horolog
$IO
$Job
$Key
$Principal
$Quit
$Reference
$STack
$Storage
$SYstem
$Test
$TLevel
$TRestart
$X
$Y
$ZA
$ZALlocstor
$ZAUDit
$ZB
$ZCHset
$ZCLose
$ZDAteform
$ZCMdline
$ZCOmpile
$ZCstatus
$ZDirectory
$ZEDit
$ZEOf
$ZError
$ZGbldir
$ZHorolog
$ZICUver
$ZINInterrupt
$ZINTerrupt
$ZIO
$ZJob
$ZKey
$ZLevel
$ZMALLoclim
$ZMAXTPTIme
$ZMOde
$ZONLNrlbk
$ZPATNumeric
$ZPIN
$ZPOSition
$ZPOUT
$ZPROMpt
$ZQuit
$ZREalstor
$ZRELdate
$ZROutines
Establishing the Value from $gtmroutines
Setting a Value for $ZROutines
$ZROutines Examples
$ZROutines Search Types
$ZROutines Search Examples
Shared Library File Specification in $ZROUTINES
$ZSOurce
$ZStatus
$ZSTep
$ZSTRPllim
$ZSYstem
$ZTExit
$ZTIMeout
$ZTrap
$ZUSedstor
$ZUT
$ZVersion
$ZYERror
Triggers ISVs
$ZTDAta
$ZTDElim
$ZTLevel
$ZTNAME
$ZTOLdval
$ZTRIggerop
$ZTSlate
$ZTUPdate
$ZTVAlue
$ZTWOrmhole

This chapter describes the M Intrinsic Special Variables implemented in GT.M. All entries starting with the letter Z are GT.M additions to the ANSI standard Intrinsic Special Variables. None of the Intrinsic Special Variables are case sensitive.

M Intrinsic Special Variables start with a single dollar sign ($). GT.M provides such variables for program examination. In some cases, the Intrinsic Special Variables may be set to modify the corresponding part of the environment.

[Note] Note

None of the Intrinsic Special Variables can be KILLed. SETting or NEWing is generally not allowed, but is specifically noted in the descriptions of those that do.