Was this helpful?
String Literals
You double quotes to delimite string literals in EQUEL/Ada.
To embed the double quote in a string literal, you should use two double quotes, as in:
## message "A quote "" in a string"
The Ada single quote character delimiter is also accepted by the preprocessor and is converted to a double quote.
To embed the backslash character, precede it with another backslash.
When continuing an EQUEL statement to another line in the middle of a string literal, use a backslash ( \ ) immediately prior to the end of the first line. In this case, the backslash and the following newline character are ignored by the preprocessor, so that the following line can continue both the string and any further components of the EQUEL statement. Any leading spaces on the next line are considered part of the string. For example, the following is a legal EQUEL statement:
## message "Please correct errors found in updating \
the database tables."
Note:  You cannot use the Ada concatenation operator (&) to continue string literals on the next line.
Last modified date: 08/14/2024