vbscript multiple line syntax

Vbscript 如何将输出内容换行?

 

' VbCrLf represetns Carriage return–linefeed combination, for more information see VBscript Constants.
WScript.Echo "Line 1 ..." & VbCrLf & "Line 2 ..."



' use an underscore at the end of a line to continue it to the next line, for more information see vbscript syntax or split VBScript into multiple lines.
WScript.Echo "Line 1 ..." &_

              VbCrLf & "Line 2 ..." &_

              VbCrLf & "Line 3 ..." &_

              VbCrLf & "Line 4 ..."

 

你可能感兴趣的:(VBScript)