C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Charizing Operator
                                             Up Contents Index Back
─────C/C++ Language─────────────────────────────────────────────────────────
 
  Operator:  #@
 
  Syntax:    #@parameter
 
  Summary:   The charizing operator, used only with the arguments
             of macros. If a #@ precedes a formal parameter in the
             definition of the macro, the actual argument is enclosed
             in single quotation marks and treated as a character when
             the macro is expanded. For example,
 
                  #define makechar( x )  #@x
 
             causes the statement
 
                  a = makechar( b );
 
             to be expanded into
 
                  a = 'b';
 
             The single-quotation character cannot be used with the
             charizing operator.
                                    -♦-