Only if the function is called as part of a predefined object and not just a
standard mathematical vbscript function.
ie.
set oObject=createobject("my.object")
iAnswer=oObject.AddThreeNumbers(iNum1,iNum2)
and your object was written in a language that allows for optional
parameters (ie the mighty Visual Basic ;-) )
[EMAIL PROTECTED]
-------------------------------------------------------
"Life must be lived as play."
- Plato (427 - 347 BC)
----- Original Message -----
From: "Kangaroo's Dream" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Sunday, July 28, 2002 5:04 PM
Subject: Optional parameters
> 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 PROTECTED]