by Rob Locher
The purpose of this document is to list some of the many things that I tend to forget about VBScript when I've been away from it for a while. Strangely enough, a lot of this stuff is hard to find in MSDN.
Function VBIsWeird
VBIsWeird = true
End Function
Sub DoSomething(FirstParam, SecondParam)
'Do something here
End Sub
To call a sub, you don't use parentheses. Actually, you
can use the optional call statement to call a sub, and if you do, then
parentheses are required. Here are some examples:
DoSomething Param1, Param2
Call DoSomething(Param1, Param2)