Multiline strings

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Multiline strings

mapp Services V5.16

Multiline string literals span several lines. They are enclosed in three sets of single quotation marks.

Syntax

'''first line
second line
third line'''

A multiline string literal includes all of the characters between its opening and closing quotation marks including newline characters. The maximum length of the literal is 4094 characters.

Examples

Multiline string constant

VAR CONSTANT

   a : STRING[256] := '''

   Silence is one of the great arts of conversation.

   Marcus Tullius Cicero

''';

END_VAR

PROGRAM _MAIN

   MpLogWrite(a);

END_PROGRAM