function fctFoo(){
var sFoo = "defaultValue";
if(ArrayLen(arguments) GE 1) sFoo = arguments[1];
}
-----Original Message-----
From: BOUDOT Christian [mailto:[EMAIL PROTECTED]
Sent: dinsdag 18 november 2003 15:09
To: CF-Talk
Subject: <cfargument required="no"> in cfscript???
Hi Folks,
Is there any equivalence for the required attribute when the function is
written with <cfscript>?
<cffunction name="fctFoo">
<cfargument name="sFoo" type="string" required="no">
</cffunction>
<cfscript>
function fctFoo(sFoo){
}
</cfscript>
thx
Chris
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

