$mvar

<< Click to Display Table of Contents >>

Navigation:  User guide > Variables >

$mvar

The term mvar represents a multi-valued variable name of up to 30 characters which is always preceded by a dollar sign. An mvar can hold up to 30000 independent bits of information. The length of an mvar is determined on the first definition.

An mvars is normally given a value with a D (define) command. The following examples define mvars:

dm $heard=$1233/1-9,

dm $used=$145/1-9,0,$146/1-5,e,

dm $make=$120-121*14/1-55,99,e,

The variable $HEARD has 9 responses, $USED has 16 responses and $MAKE has 57 responses. The D (define) statements are executed and the values copied from the data locations to the variables when the definition commands are reached.