HP 3000 Manuals

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


HP Pascal/iX Reference Manual

NLS_SOURCE 

NLS_SOURCE is a System-Dependent MPE/iX and HP-UX Option.

When the NLS_SOURCE compiler option is ON, the compiler supports the
parsing of two-byte characters within string literals and comments.

The command line option -Y also specifies this option.

Syntax 

$NLS_SOURCE {ON }$
            {OFF}

Default       OFF.

Location      Anywhere.

NLS_SOURCE ON enables the compiler to parse 16-bit characters within
literal strings and comments.  (Note that eight-bit characters are always
parsed correctly.)

NLS_SOURCE OFF specifies that 16-bit characters are not supported.

Example 

     $NLS_SOURCE ON$
     {Native Mode language source code can appear here.}
        .
        .
        .
     CONST
        s = "some string literal";
     $NLS_SOURCE OFF$
     {Native Mode language source code cannot appear here.}


NOTE On MPE/iX, a warning occurs if the NLUSERLANG JCW is not set before compiling a program that turns the NLS_SOURCE compiler option ON. On HP-UX, a warning occurs if the LANG environment variable is not set before compiling a program that turns the NLS_SOURCE compiler option ON.


MPE/iX 5.0 Documentation