VBScript, purpose of colon?

后端 未结 4 1388
灰色年华
灰色年华 2021-02-03 22:51

What is the purpose of the colon?

e. g.:

Dim objConn : Set objConn = OpenConnection()`

Is the colon used to combine the two statements

4条回答
  •  余生分开走
    2021-02-03 23:50

    Yes, the code would work exactly the same on two lines; the colon's just a statement separator.

提交回复
热议问题