LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

I can't help thinking i should know the answer to this...

How do I initiallise a long string across more than one line in the editor?
(CVI 5.0.1).
0 Kudos
Message 1 of 3
(2,981 Views)
I guess you are talking about setting an intial value for a string in the source editor. If so, you just close the quotes at the end of the line and reopen them on the next line. For example:

char message[100] = "We create innovative computer-based "
"products that improve everyday life. ";

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 3
(2,981 Views)
Ta very much. Thought I should know 😉

> I guess you are talking about setting an intial value for a string in
> the source editor. If so, you just close the quotes at the end of the
> line and reopen them on the next line. For example:
>
> char message[100] = "We create innovative computer-based "
> "products that improve everyday life. ";
>
> Best Regards,
>
> Chris Matthews
> Measurement Studio Support Manager
0 Kudos
Message 3 of 3
(2,981 Views)