| USER_LEX | Define Directive Keywords | 
USER_LEX alt_string$=directive$
  
Where:
| alt_string$ | Alternate/translated form to be used in place of a PxPlus directive. | 
| directive$ | Standard PxPlus directive. | 
Use the USER_LEX directive to extend the internal PxPlus compiler definitions to include new symbols and directives. Use this directive to simplify a conversion from other languages to PxPlus.
After PxPlus executes the USER_LEX directive, any statements sent to the PxPlus compiler where the alternate string expression is found will be translated into the internal object code for the standard string in directive$. It is mandatory that you use valid PxPlus object syntax in the directive$. Use spaces in the string expression to indicate that spaces can exist in the string when compiling.
To allow the use of SPC( ) in lieu of PAD( ):
user_lex "SPC ("= "PAD ("