Partially optional function parameters in ASP (VBScript 5.0+)

Posted on 12/28/09 11:17 AM by Get Schooled in ASP, in New Horizons Computer Learning Centers, in VBScript, in optional funcation parameters, in Tips & Tricks

Partially optional function parameters in ASP (VBScript 5.0+)
VBScript doesn't support the declaration of optional parameters in subroutines or functions. So, if you have a function declared as: Myfunction(p1,p2,p3), to simulate optional parameters, you'd have to call it like so:

0 CommentsContinue Reading →

    

Subscribe

Posts by Topic

see all

Lists by Topic

see all