DEBUG FOR — VMS 4.6
Provides a way of iterating a sequence of DEBUG commands.
Format:
FOR name = expr1 TO expr2 [BY expr3] DO (debug-cmd-list)
Example:
DBG> FOR I = 1 TO 3 DO (STEP)
stepped to ...
stepped to ...
stepped to ...
Additional information available:
Parameters
name
A name which is initially bound to the value of expr1, as if you
had done DEFINE/VALUE name = expr1
expr1
A language expression of integer or enumeration type.
expr2
A language expression of integer or enumeration type.
expr3
A language expression of integer or enumeration type.
expr3 may be negative but may not be zero.
debug-cmd-list
A sequence of DEBUG commands separated by semicolons and enclosed
in parentheses.