Structured System variables -- ^$GLOBAL

^$G[LOBAL]

Introduced in the 1995 ANSI M[UMPS] language standard.

This structured system variable provides information about the global variables that are currently known to the M[UMPS] system.

WRITE !,"Global directory:"
WRITE !,"Name",?12,"Character set",?30,"Collating"
SET G="" FOR  SET G=$ORDER(^$GLOBAL(G)) QUIT:G=""  DO
. WRITE !,G
. WRITE ?12,$GET(^$GLOBAL(G,"CHARACTER"))
. WRITE ?30,$GET(^$GLOBAL(G,"COLLATE"))
. QUIT


This document is © Ed de Moel, 1995-2005.
It is part of a book by Ed de Moel that is published under the title "M[UMPS] by Example" (ISBN 0-918118-42-5).
Printed copies of the book are no longer available.

This document describes the various special (system) variables that are defined in the M[UMPS] language standard (ANSI X11.1, ISO 11756).

The information in this document is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.

In this document, information is included that will appear in future standards.
The MDC cannot guarantee that these 'next' standards will indeed appear.