Is there ways to create optional arguments to functions in vb script allowing you to write functions something like...
myFunc("happy")
myFunc("happy", 1, 2, 3)
myFunc("happy", 1)
etc.
Is there ways to create optional arguments to functions in vb script allowing you to write functions something like...
myFunc("happy")
myFunc("happy", 1, 2, 3)
myFunc("happy", 1)
etc.
The optional keyword (like in VB6) is not allowed in vbscript
maybe this helps: http://www.4guysfromrolla.com/webtech/071801-1.shtml