Stringification operator

Transforms a preprocessor macro element to a string.


  1. param is a parameter of the macro


The stringification operator # converts a preprocessor macro parameter to a string.

When a macro parameter is used with a preceding #, it is replaced by a string containing the literal text of the argument.

The argument is not macro expanded before the substitution.

Source: File A
&define disp(x) DISPLAY #x
Result (fglcomp -E output):
& 1 "A"
DISPLAY "abcdef"