Jump to content
Sign in to follow this  
GZE

Defining String variable using multiple lines in the editor.

Recommended Posts

GZE

Hello

I need to define a long string with multiple lines.

This used to work but now i don't seem to get it going...

What am i doing wrong?

Kind regards,

GZE

$string="Shouldn't this work ..." & @CRLF & "_
like this?"
MsgBox("","",$string)

Share this post


Link to post
Share on other sites
Andreik

Hello

I need to define a long string with multiple lines.

This used to work but now i don't seem to get it going...

What am i doing wrong?

Kind regards,

GZE

$string="Shouldn't this work ..." & @CRLF & "_
like this?"
MsgBox("","",$string)
$string="Shouldn't this work ..." & @CRLF & _
"like this?"
MsgBox("","",$string)

When the words fail... music speaks

Share this post


Link to post
Share on other sites
JRowe
herewasplato

...drat, I was gonna post that too


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
GZE

$string="Shouldn't this work ..." & @CRLF & _
"like this?"
MsgBox("","",$string)
So yet and close so far... ;)

Thnx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.