HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 2 User Interface

Command Lookup Precedence

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The second phase of command line scanning is performed after the preprocessing phase, in which command line substitution is performed. In the second phase, the command name is extracted from the command line and is interpreted according to the following sequence:

  1. Search for the command in the alias table. If found, repeat this process recursively with the aliased name until the search fails. Infinitely recursive aliases result in an error. Proceed with the aliased command name, if found.

  2. Search for the command in the command table.

  3. Search for the command in the window command table.

  4. Search for the command in the macro definition table. If found, execute the macro as a command, discarding any macro return value.

  5. If still unresolved, then fail.

Feedback to webmaster