Metalanguage, letter G

gcolor, gkeyword, gksdat, gksenum, gksfile, gksint, gksnam, gksnum, gksplst, gkspnt, gksstr, glvn, gname, gnamind, gotoargument, graphic, gtype, gvn, gvnexpr


gcolor

Introduced in the 1995 M[UMPS] Windowing Application Programmer's Interface.

This metalanguage symbol represents the level of the green component of a color. A color component level is an integer value (0 value 65,535).


gkeyword

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer's Interface standard.

This metalanguage symbol represents an expression that evaluates to the value "G".


gksdat

Introduced in the 1994 ANSI GKS - M[UMPS] language binding.

This metalanguage symbol represents a data record. This entity can be any expression.


gksenum

Introduced in the 1994 ANSI GKS - M[UMPS] language binding.

This metalanguage symbol represents an entity that has one out of a number of possible values (an enumerated list of possible values). This entity can be any expression.


gksfile

Introduced in the 1994 ANSI GKS - M[UMPS] language binding.

This metalanguage symbol represents the name of a file. This entity can be any expression.


gksint

Introduced in the 1994 ANSI GKS - M[UMPS] language binding.

This metalanguage symbol represents an integer number that is bounded by constraints within the GKS standard.This entity can be the integer interpretation of any expression.


gksnam

Introduced in the 1994 ANSI GKS - M[UMPS] language binding.

This metalanguage symbol represents a name that matches constraints as specified within the GKS standard. This entity can be any expression.


gksnum

Introduced in the 1994 ANSI GKS - M[UMPS] language binding.

This metalanguage symbol represents a number that is bounded by constraints within the GKS standard.This entity can be the numeric interpretation of any expression.


gksplst

Introduced in the 1994 ANSI GKS - M[UMPS] language binding.

This metalanguage symbol represents a list of points (separated by commas). A point is represented by a list of integer numbers (separated by commas). Since the GKS processor knows which type of coordinates is being used (two-dimensional or three-dimensional), there is no ambiguity about which commas separate coordinates, and which commas separate points.


gkspnt

Introduced in the 1994 ANSI GKS - M[UMPS] language binding.

This metalanguage symbol represents a point. A point is represented by a list of integer numbers (separated by commas). The number of values depends on the projection space (two-dimensional, three-dimensional) that is currently being used.


gksstr

Introduced in the 1994 ANSI GKS - M[UMPS] language binding.

This metalanguage symbol represents an expression; the value of this expression is not restricted to be anything specific.


glvn

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

This metalanguage symbol represents either a global or a local variable name.

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

A glvn can refer to a local variable, to a global variable, or to a structured system variable.


gname

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer's Interface standard.

This metalanguage symbol represents the name of a gadget. Names of gadgets consist of alphabetic characters and digits and may start with a % sign.

For portability, the number of characters in the name of a gadget is limited to 31 characters.


gnamind

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

This metalanguage symbol represents a part of an indirect reference to a global variable. In the context of an indirection of the type @name@(subscripts), this metalanguage symbol corresponds to the part between the indirection operators. This entity may be a regular local variable name (see metalanguage symbol rlvn, a regular global variable name (see metalanguage symbol rgvn) or an expritem). In this context, the value between the indirection operator must evaluate to a name of a global variable, possibly with a list of subscripts enclosed in parentheses.


gotoargument

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

This metalanguage symbol represents an occurrence of an argument of the GOTO command. Examples of valid arguments for the GOTO command appear in an earlier section. The argument of the GOTO command is either a destination, or an indirection operator (@) followed by an expression that evaluates to a list (separated by commas) of such arguments.


graphic

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

This metalanguage symbol represents any of the 95 ASCII printable characters, including the character "Space", often represented as SP, SP or " ".

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

A graphic character is any character in the ASCII/M character set that does not have internal code 0 through 31 or internal code 127.

To be modified in a future ANSI M[UMPS] language standard.

A graphic character is any character that does not match the pattern code 1C.


gtype

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer's Interface standard.

This metalanguage symbol represents a code for the type of a gadget. This metalanguage symbol occurs as an expression that evaluates to either one of "BUTTON", "CHECK", "DOCUMENT", "FRAME", "GENERIC", "LABEL", "LIST", "LISTBUTTON", "LISTENTRY", "LONGLIST", "RADIO", "SCROLL", "SYMBOL" or "TEXT", to to an implementation-specific value (starts with "Z").

Modifed in a future ANSI M[UMPS] Windowing Application Programmer's Interface standard.

Added "TABLE" as a possible value for gadget type codes.


gvn

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

This metalanguage symbol represents a global variable name (possibly with a list of subscripts enclosed in parentheses), including the leading caret (^). An gvn may be either a "straight" global variable name, a naked reference, or an indirected reference to a global variable.

Examples:

^ABC
@("^PQR")
^ABC(1,2,3)
@"^PQR(4,5,6)"
^(4,5)
@"^(6,7)"

Modified in the 1984 ANSI M[UMPS] language standard.

This metalanguage symbol represents a global variable name (possibly with a list of subscripts enclosed in parentheses), including the leading caret (^). An gvn may be either a regular global variable name (see metalanguage symbol rgvn) or an indirected reference to a regular global variable name.

Examples:

^ABC
@("^PQR")
^ABC(1,2,3)
@"^PQR(4,5,6)"
@"^KLM"@(8,9,10)
@"@""^XYZ""@(11,23)"
^(4,5)
@"^(6,7)"


gvnexpr

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

This metalanguage symbol represents an expression that evaluates to the name of a global variable.

Approved for addition in a future ANSI M[UMPS] language standard.

The name of the global variable, in this context, is unsubscripted.


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 metalanguage terms starting with the letter "G" that are used throughout the M[UMPS] standards, as well as some other terms that may not be obvious to all readers of the M[UMPS] language standards.

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.