Next: Preprocessing Prev: Outer macros Up: Macros Top: Top WEB macros with a variable number of arguments are indicated by an ellipsis, as in
------------------------------------------------------------------------------- @m VAR(x,y,z,...) text -------------------------------------------------------------------------------
Adjacent strings in macro text are automatically concatenated.
ANSI C-compatible tokens:
##
#parameter --- Convert parameter to string (without expansion).
Extensions to ANSI C macro syntax:
#*parameter --- Like #parameter, but pass a quoted string through unchanged.
#!parameter --- Don't expand argument.
#'parameter --- Convert parameter to a single-quoted string (no expansion).
#"parameter --- Convert parameter to a double-quoted string (no expansion).
#0 --- Number of variable arguments.
#n --- n-th variable argument, counting from 1.
#. --- Comma-separated list of all variable arguments.
#:0 --- Unique statement number (expanded in phase 1).
#:nnn --- Unique statement number for each invocation of this
macro (Expanded in phase 2).
#< --- Begin a section (module) name.
#, --- Internal comma; doesn't delimit macro argument.