> From: Raj
> Is there a way in macros iterative do-loop to loop through a
> series of words? For example, I have a list of words like
> 'import', 'export', 'configure'.
> I need to loop through each of the words like this.
> %do i = import, export, configure;
> ...more macro statements using the value of &i ;
> But macro iterative do loop only allows integer values. I
> know that we can do this in regular do-loop (like do i=
> import, export, configure; ). Can we do the same in macros as well?
I have one paper about how to use macro arrays.
SUGI 22: 1997 San Diego CA
Coder's Corner 80 %ARRAY
%ARRAY: construction and usage of arrays of macro variables
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
see also sugi31.040
Tight Looping With Macro Arrays.