April 20, 2004, 12:44 AM
susannahsetting up arrays of &vars
i want to initialize a bunch of &vars
&A1
&A2
&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 AM
MikelSee the following example and try with &A
.&KCOUNTER.
-* 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
-ENDLOOP Regards,
Mikel
This message has been edited. Last edited by: <Mabel>,