Show / Hide Table of Contents

Variable


General System Function

The Variable function converts a name-index number or integer to a Variable name. Use this function when a numeric expression uses a Variable has a name-index number stored in an Attribute, array, or Variable.

Syntax

Variable(<numeric expression>)

Syntax Examples

Variable(Attr) = 124
Variable(x) = Variable(y)
N=Variable(x) + Variable(y) - 1

Parameters

(<numeric expression>)

The Variable's name-index number. You can determine the name-index number associated with a particular Variable by the Variable record's position in the Variables module.

Remarks

You cannot use Variable() in a Prompt, Inc, Dec, or Read statement.

In This Article
Back to top Generated by DocFX