Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I include a carriage return in a expression

How can I include a carriage return in a expression between text strings eg

Expression 1 = Text1 & text2 & text3 & text4

I need to display it as below

Text1
Text2
Text3
Text4

adjusting the box the size doesn’t work as the text strings are variable lengths
0 Kudos
Message 1 of 5
(4,365 Views)
If you want to send such string by Ascii object, use \r.
See "ASCII Object Format Markers" in Lookout help.
Ryan Shi
National Instruments
0 Kudos
Message 2 of 5
(4,352 Views)
I could not get it to work I keep on getting an error

I want to use a carriage return in a normal expression to display variable length text strings, I am not using it with the ASCII object

thanks
Ian
0 Kudos
Message 3 of 5
(4,341 Views)
 
 

Message Edited by Ryan.S on 01-04-2007 08:17 PM

Ryan Shi
National Instruments
0 Kudos
Message 4 of 5
(4,329 Views)
You can input the text with carriage return, as the attachment shows.
 
Ryan Shi
National Instruments
0 Kudos
Message 5 of 5
(4,326 Views)