HPlogo System Debug Reference Manual > Chapter 2 User Interface

Command Lookup Precedence

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

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.




Aliases


Error Handling