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...
See 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
MikelThis message has been edited. Last edited by: <Mabel>,
YOU ROCK! THANKS.
|Powered by Social Strata|