REPEAT Function
The REPEAT MPL function expands its balanced-text argument a specified number of times. The syntax for the REPEAT function is:
%REPEAT (expression) (balanced-text)
The REPEAT function expands balanced-text the number of times specified by expression. The expression is evaluated only once when the macro is first called.
Source Text
%REPEAT (5)
( -enter any key to shut down-
)
%REPEAT (5) (+%REPEAT (9) (-))+
Output Text
-enter any key to shut down-
-enter any key to shut down-
-enter any key to shut down-
-enter any key to shut down-
-enter any key to shut down-
+---------+---------+---------+---------+---------+