コロンを付けると、複数のステートメントを1行で書けることを利用する。
Dim foo As Integer: foo = 0 Dim bar As String: bar = "hogehoge" Dim obj As Object: Set obj = WScript.CreateObject("WScript.Shell")
コロンを付けると、複数のステートメントを1行で書けることを利用する。
Dim foo As Integer: foo = 0 Dim bar As String: bar = "hogehoge" Dim obj As Object: Set obj = WScript.CreateObject("WScript.Shell")