next up previous contents
Next: SHOW-SYMBOLS Up: THE SCL COMMANDS. Previous: ASK   Contents


Command symbol assignment (:=)

This command lets you define a command symbol, of the same form as an inbuilt SPECX command, and to set it equal to a (max 64) character string of SPECX commands. Once declared the symbol is parsed in the same way as any other SPECX command (i.e.minimum matched), and the equivalence string substituted.

Like the = command, the := command is actually a full SCL command, with two parameters:

Command symbol name? (string)
Equivalence string? (string)
The preparser also recognizes the forms ``symbol := string" and ``symbol:=string" and reorganizes them to standard form before passing them on. Thus:

Examples:

       >>  := new-command string...
       >>  :=new-command string...
       >>  new-command := string...
       >>  new-command:=string...



Jamie Leech 2004-08-16