-qdollar

Description

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

Syntax

Read syntax diagramSkip visual syntax diagram        .-nodollar-.
>>- -q--+-dollar---+-------------------------------------------><

When -qdollar is in effect, the dollar symbol $ in an identifier is treated as a base character. If the options -qnodollar and -qlanglvl=ucs are both in effect, the dollar symbol is treated as an extended character and translated into \u0024.

Example

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

xlc myprogram.c -qdollar

Related information