It's more than just that -- you can, for instance, use arrayLen() and structCount() on ARGUMENTS [to maintain backwards compatibility for the original UDFs -- a decision we all have to live with].

I still don't understand the point of that in relation to this discussion, however -- Sean, surely you are not saying the different behaviors of structCount() in CF6 and CF7 is "expected behavior"??





Dave Carabetta wrote:
On 6/21/05, Barney Boisvert <[EMAIL PROTECTED]> wrote:

I think he's talking about the 'arguments' scope in particular, as it
has weird quirks that aren't exhibited by any other CF scopes (i.e.
the ability to dereference like an array).  StructKeyExists is still
the proper way to test for an optional argument; in that sense
treating arguments like a struct is the proper thing to do.  Just
don't necessarily expect it to ALWAYS behave exactly like a "real"
struct.



So then the arguments scope is sort of like a query (which I know
isn't a scope, per se) where you can sometimes use array notation and
sometimes use structure notation to access its members?

Just curious.

Regards,
Dave.


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]




----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to