Hi:
I need help with the DO macro construct.
The following works.
DO 3 TIMES.
your statements
ENDDO
What I want to do is to pass a layout variable value to the above DO. I tried a few combinations but none of them seem to work.
DO ( EVAL( LAYOUTVAR_VALUE( 'RESULT' ) ) TIMES.
statements
ENDDO
DO(
LAYOUTVAR_VALUE( 'RESULT' )
TIMES.
)
statements
ENDDO
Could you please help me with this and tell me what is the right construct? What I am trying to do is to loop through a certain number of times based on the value of a variable that has been defined in a previous step.
Thanks.
Satish