[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

13 Global Aliasing

FreeM provides the ability to set alternative names for M global variables.

To create an alias of ^FOO named ^BAR, use the following command:

  SET ^$JOB($JOB,"ALIASES","^BAR")="^FOO"

If such an alias is set, any reference to global variable ^BAR will affect ^FOO instead of ^BAR until ^$JOB($JOB,"ALIASES","^BAR") is KILLed. If ^BAR existed prior to the definition of this alias, its data will be unavailable to and unaffected by application code.


This document was generated on November 11, 2022 using texi2html 5.0.