dollar

Option Type Default Value #pragma options C C++
-qoption nodollar - x x

Syntax

    -qdollar | -qnodollar 

Purpose
Allows the $ symbol to be used in the names of identifiers.

Notes
For C++ programs, -qdollar applies only to ansi mode because the $ symbol is already allowed when -qlanglvl is set to extended or compat.

Example
To compile myprogram.c so that $ is allowed in identifiers in the program, enter:

    xlC myprogram.c -qdollar


List of Compiler Options and Their Defaults