Page 1 of 1

Wrapping

Posted: Sun Nov 06, 2016 10:00 pm
by dbrooksne
This has been discussed as an issue back in April for a related text question. At that time it was suggested that each line would require a separate rectangle.

Suppose you have a widget that allows the user to make a single selection that allows related data to be returned.

Consider the lcb code line:
close popup returning tReturnedData

How do you construct the variable tReturnedData so that it have many lines? return, /r, /r:, "/r" don't seem to work.

Re: Wrapping

Posted: Sun Nov 06, 2016 11:15 pm
by peter-b

Code: Select all

"this is a string constant\ncontaining multiple lines\nseparated by linefeed characters.
The following escape sequences may be placed in LCB string literals:

"\q" -- double quote character (")
"\n" -- linefeed
"\r" -- carriage return
"\t" -- horizontal tab
"\u{ABCD}" -- Unicode codepoint U+ABCD