Jump to content
Sign in to follow this  
john1125

Continuing a line of code on a second line

Recommended Posts

I have a line in my code along the lines of:

MsgBox(0, "Found", '"' & $OStype & '" was found in the array at pos ' & $Pos & "." & Chr(13) & "Congratulations your Operating System is up to date.")

This is kind of a long line and for readability while looking at the code I'ld like to have something like:

MsgBox(0, "Found", '"' & $OStype & '" was found in the array at pos ' & $Pos & "." & Chr(13) &

"Congratulations your Operating System is up to date.")

I'm guessing that there is a character or something that I put at the end of the first line to tell it that the line is continued on the next line.

TIA

John

Share this post


Link to post
Share on other sites

use a Space plus Underscore at the end of the line to indicate this:

MsgBox(0, "Found", '"' & $OStype & '" was found in the array at pos ' & $Pos & "." & Chr(13) & _
"Congratulations your Operating System is up to date.")

:)

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  

×
×
  • Create New...