Difference between revisions of "&"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Function to perform macro substitution
 
Function to perform macro substitution
Line 27: Line 25:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 16:37, 25 November 2009

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.


Example

subscript = 10
i10i = 5
? i&subscript.i
         5


Products

Recital Server, Recital