It's more readable than a very long line with escape characters.
The text will be simplier to write and update without multiple constant insertions (#CRLF$ #LF$ or #LF$)
Of course, in this case the IDE should not break the literal string internal indentation.
Like common string, There's no comment inside multiline literal string.
Code: Select all
If myText$ = ""
myText$ = ~"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." ;end of literal string here ******
EndIf
MessageRequester("Message", myText$)
Define hello.s= ~"\tHello\"Fred\",
The semicolon [ ; ] has no special meaning inside this literal string or common string.
Regards\"John Doe\"" ;
MessageRequester("Message", hello)