English

How To: Creating variable arrays with ARC Macro Language

Procedure

Instructions provided describe how to create single-dimensional arrays for programming with ARC Macro Language (AML).

Solution:

Create single-dimensional arrays using the [VALUE] function. For example:

&SETVAR var1 = 10
&SETVAR var2 = 15
&SETVAR var3 = 25
&DO count = 1 &TO 3
&TYPE [VALUE var%count%]
&END
&RETURN

result:
10
15
25