> >> Arguments is an array rather than a structure
dave watts said...
> > If I recall correctly, the Arguments "object" is exposed
> > as both an array
> > and a structure.
s. isaac dealey said...
> On MX you're right, although the original question was on CF5.
OK... run this code then
<cfscript>
function testArgs() {
writeoutput("Args is Structure = " & isStruct(arguments) & "<br />");
writeoutput("Args is Array = " & isArray(arguments) & "<br />");
}
testArgs("test1", "test2", "test3", "test4");
</cfscript>
.........output is..............
Args is Structure = NO
Args is Array = YES
Therefore does that not mean that 'Arguments is an array rather than a
structure'?
I _am_ running it in CF5... don't know about CFMX.
Am I doing something wrong?
--
dc
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]