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

12.1 Standard Extended Global References

FreeM supports extended global references, allowing the user to access globals in namespaces other than the current default namespace and the SYSTEM namespace, without switching to the other namespace.

For example, if you are in the USER namespace, the following code will print the value of ^VA(200,0) in the VISTA namespace:

  WRITE ^|"VISTA"|VA(200,0),!

You may also use an expression that resolves to a string containing a valid namespace name:

  SET NS="VISTA"
  WRITE ^|NS|VA(200,0),!

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