April 20, 2004, 12:44 AMsusannah
setting up arrays of &vars
i want to initialize a bunch of &vars
&A3 ...ETC up to a hundred or so
How can i set up a loop with some &KOUNTER to create them?
-SET &A&KOUNTER does not work..
there's gotta be a way...
April 20, 2004, 07:01 AMMikel
See the following example and try with &A.
-* Initialize and display &N vars "array" (1 dimension) example.
-DEFAULT &N = 100 ;
-REPEAT ENDLOOP FOR &I FROM 1 TO &N
-SET &VAR.&I = &I ;
-TYPE Counter &I - Variable: &|VAR&I - Value: &VAR.&I
MikelThis message has been edited. Last edited by: <Mabel>,