Search code examples
vbscript

VBScript, purpose of colon?


What is the purpose of the colon?

e. g.:

Dim objConn : Set objConn = OpenConnection()`

Is the colon used to combine the two statements into one line? I just want to be sure.


Solution

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