Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

^$GLOBAL

Draft MDC Standard

7.1.3.4 ^$Global

^$G[LOBAL] ( gvnexpr )

    gvnexpr::= expr V ^ name

^$Global provides information about the existence and characteristics of global variables.

If and only if a global variable identified by gvnexpr exists, ^$Global( gvnexpr ) is defined ($Data returns a non-zero value); all non-empty string values are reserved for future extensions to the standard. Global variable characteristic information is stored beneath the ^$Global( gvnexpr ) node:

^$Global( gvnexpr , expr V "CHARACTER") = charsetexpr

This node identifies the Character Set Profile of the specified global variable. When the first node in a global variable is created, and the node ^$Global( gvnexpr , "CHARACTER" ) has a $Data value of zero, the value assigned is that of ^$Job( $Job, "CHARACTER" ). The result of killing a gvn does not alter the characteristics stored in ^$Global for that gvn.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 18-Nov-2023, 10:23:51.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)