HP 3000 Manuals

UPPERCASE [ HP Pascal/iX Reference Manual ] MPE/iX 5.0 Documentation


HP Pascal/iX Reference Manual

UPPERCASE 

UPPERCASE is an HP Pascal Option.

When the UPPERCASE compiler option is ON, the compiler upshifts all
external names (names of routines and global variables), including
aliases.  When UPPERCASE is OFF, the compiler downshifts these names.
The LITERAL_ALIAS compiler option overrides the UPPERCASE compiler option
in aliases.

Syntax 

$UPPERCASE {ON }$
           {OFF}

Default       OFF.

Location      Anywhere, but if you want the compiler to upshift the
              program parameter names, then UPPERCASE must precede the
              program header.

Scope         All subsequent external names.  If program parameter names
              are to be upshifted, then UPPERCASE must precede the
              program header.

Example 

     $UPPERCASE ON$
     PROCEDURE proc1;  {External name is "PROC1".}

     PROCEDURE $ALIAS 'Proc2Name'$ proc2;  {External name is "PROC2NAME".}

     $UPPERCASE OFF$
     PROCEDURE proc3;  {External name is "proc3".}

     PROCEDURE $ALIAS 'Proc4Name'$ proc4;  {External name is "proc4name".}



MPE/iX 5.0 Documentation