Difference between revisions of "&"
From Lianjapedia
Helen.george (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 10: | Line 10: | ||
==Description== | ==Description== | ||
The & macro function substitutes the contents of the specified <memvar> into the command line. To use a macro in the middle of a word, it is necessary to end the variable name with a '.'. Any type of memory variable can be substituted as a macro. The & macro function can also substitute the result of an expression into the command line. The <exp> must be enclosed in round brackets. | The & macro function substitutes the contents of the specified <memvar> into the command line. To use a macro in the middle of a word, it is necessary to end the variable name with a '.'. Any type of memory variable can be substituted as a macro. The & macro function can also substitute the result of an expression into the command line. The <exp> must be enclosed in round brackets. | ||
+ | |||
+ | Note: & macro substitution is not supported in the Command Window in the Console Workspace or App Inspector. | ||
==Example== | ==Example== |
Revision as of 11:31, 15 January 2015
Contents
Purpose
Function to perform macro substitution
Syntax
&<memvar> | (<exp>)
See Also
PRIVATE, PUBLIC, SET MACROS, STORE
Description
The & macro function substitutes the contents of the specified <memvar> into the command line. To use a macro in the middle of a word, it is necessary to end the variable name with a '.'. Any type of memory variable can be substituted as a macro. The & macro function can also substitute the result of an expression into the command line. The <exp> must be enclosed in round brackets.
Note: & macro substitution is not supported in the Command Window in the Console Workspace or App Inspector.
Example
subscript = 10 i10i = 5 ? i&subscript.i 5