function function1(a,b,c)
'...logic goes here
end function1
boolFunction1 = function1(strA,strB,strC)
This returns a boolean from a list of three variables, if strA,strB,strC are
empty or null would be handled by the function. You still need to pass it
something for each parameter. Usually if there's no value set it to empty or
"" for strings and pass that to the function.
tom mallard
seattle
-----Original Message-----
From: Kangaroo's Dream [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 9:27 AM
To: ActiveServerPages
Subject: Re: Optional parameters
Isn't that for C ? I am working with asp/vbscript.
----- Original Message -----
From: "Michael Gerholdt" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Sunday, July 28, 2002 5:13 PM
Subject: Re: Optional parameters
> Look at the subject "overloading"
>
> and take a look at the msgbox function as an example of an overloaded
> function
>
> hth
> Mike
>
>
> > Is there a way to write a function that some or all of its parameters
may
> be
> > optional?
>
>
>
>
> ---
> You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>
---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]