qc.hlp (Table of Contents; Topic list)
Token-Pasting Operator
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Operator:  ##
 
  Syntax:    token##parameter
             parameter##token
 
  Summary:   The token-pasting operator, used only with macros. If
             ## precedes or follows a formal parameter in the
             definition of a macro, the actual argument is concatenated
             with the token on the other side of the ## when the macro
             is expanded. For example,
 
                  #define printvar(x) printf("%d\n", var##x)
 
             causes the statement
 
                  printvar(7);
 
             to be expanded into
 
                  printf("%d\n",var7);
                                    -♦-