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


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.


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

xlc myprogram.c -qdollar

Related information