EAGLE Help

String Constants


A string constant consists of a sequence of characters or escape sequences enclosed in double quotes, like
"Hello world\n"
The type of a string constant is string.

String constants can be of any length (provided there is enough free memory available).

String constants can be concatenated with the + operator to form larger strings:

string s = "Hello" + " world\n";
It is also possible to extend a string constant over more than one line by escaping the newline character with a backslash (\):
string s = "Hello \
world\n";

Index Copyright © 1999 CadSoft Computer GmbH