Sign in to follow this  
Followers 0
Rishav

Breaking large lines into smaller ones

3 posts in this topic

Lets say I have a very long line like

if xyz1 or xyz2 or xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx3 or ....

which went on for miles.

there was something like "&_" or "!_" which I could use to break it down into smaller multiple lines.

I know this is embarrassingly simple but I have forgotten about how to use it. I tried a few combinations but am not getting it.

thanks and regards

Rishav.

Share this post


Link to post
Share on other sites



$string = "xxxx" & _    
            "yyy"
MsgBox(0,"",$string)


Hi ;)

Share this post


Link to post
Share on other sites

I think the OP is talking about code (not string) the span multiple lines, it's just underscore:

If $f1 And $f2 And Not $f3 _
    And ($This <> $That) Then _
       Exit
; EndIf ; Not required

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  
Followers 0