Show: Delphi C++
Display Preferences

Using The Backslash For Line Continuation

From RAD Studio
Jump to: navigation, search

Go Up to The Preprocessor Index

A long token sequence can straddle a line by using a backslash (\). The backslash and the following newline are both stripped to provide the actual token sequence used in expansions.

#define WARN "This is really a single-\
line warning."
Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions