Ordering positional parameters

Positional parameters are validate by the syntax checker in the order they are specified in the macro file.

About this task

The parameter list in the Create Instruction wizards and the Edit Instruction dialogs are displayed in alphabetic order.

Procedure

To order positional parameters, complete the following steps:

  1. Do one of the following actions:
    • In the HLASM tab of the Editor Options preference page, type the name of your user macro file in the User Macro File field.
    • In the HLASM Parser preference page , type the name of your user macro file in the User Macro File field.
  2. Click on the Manage button next to the User Macro File field.
    The Manage Macro Files dialog appears and, if specified, it will load the macro file from the User Macro File field.
  3. Do one of the following actions:
    • Select the Machine Instruction tab.
    • Select the Assembler Instruction tab.
    • Select the Macro Instruction tab.
  4. Do one of the following actions:
    • Click on the New button, specify the instruction name, and click on the Next button to go to the Parameters page
    • Click on the Edit button to edit an existing instruction.
    • Click on the Copy button to copy an existing instruction.
  5. Click on the Order button.
    The Order Positional Parameters dialog appears.
  6. Select one or more parameters in the list.
  7. Do one of the following actions:
    • Click on the Move up button to change the order of the selected parameter or parameters.
    • Click on the Move down button to change the order of the selected parameter or parameters
  8. Click on the Ok button in the Order Positional Parameters dialog.
  9. Click on the Finish button in the Create Machine Instruction, Create Assembler Instruction or Create Macro Instruction wizard or the Ok button in the Define Machine Instruction, Define Assembler Instruction or Define Macro Instruction dialog.
    The instruction is added to the instruction list.
  10. Click on the Ok button in the Manage Macro Files dialog.