qc.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
────────────────────────────────────────────────────────────────────────────
 
  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 quotes 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-quote character cannot be used with the
             charizing operator.
                                    -♦-