|
|
|
|
|
| | |
|
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Optional keyword |
From: |
d |
Date: |
12/28/2000 11:31:15 PM |
IP: |
216.198.96.99 |
this is valid in visual basic...it probably caries over to vbs
function doSomthing(x, optional y=0, optional z)
to call the function you only need to pass in x, if you only pass in x , y is set at a default value of 0 and z is empty...
once you start putting in optional arguments...all the argumetns after that have to be optional as well
havent explicitly tested the use of optional in vbs though rember... |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|