Continue command on next line

Is there a way to continue the command on a new line? My call to the MsgBox() function is long, for readability, I want to do something like this:

 $confirm = MsgBox(321, "Check Information", "Confirmation Number: " & @LF & "Amount: $") 

This returns a syntax error and points to the end of the first line as the location of the error.

+6
source share
1 answer

Place an underscore at the end of the line:

 $confirm = msgbox(321, "Check Information", "Confirmation Number: " & @LF & _ "Amount: $") 
+11
source

Source: https://habr.com/ru/post/907614/


All Articles