You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a macro is invoked with keyword parameters, one per line, with a continuation character on each line, the even numbered lines are dropped, e.g., second, fourth. etc. This operand skipping does not occur when positional operands are used.
causes KEY4 to be dropped, and the duplication of KEY3 is not reported.
I have attached a .zip containing a sample program and listing with two macro definitions and two invocations of each macro. The first macro uses keyword operands, and the second uses positional. The first invocation illustrates the issue and the second illustrates the work-around of duplicating all lines after the first. The macro just issues MNOTE instructions to echo the keyword operands provided.
If a macro is invoked with keyword parameters, one per line, with a continuation character on each line, the even numbered lines are dropped, e.g., second, fourth. etc. This operand skipping does not occur when positional operands are used.
So:
KEY3=MAYBE will not be processed at all. Changing the snippet to:
causes KEY4 to be dropped, and the duplication of KEY3 is not reported.
I have attached a .zip containing a sample program and listing with two macro definitions and two invocations of each macro. The first macro uses keyword operands, and the second uses positional. The first invocation illustrates the issue and the second illustrates the work-around of duplicating all lines after the first. The macro just issues MNOTE instructions to echo the keyword operands provided.
ztest-999.zip
The text was updated successfully, but these errors were encountered: