If I have this line (I don't really use x and y):
<cfif IsDefined("arguments.x.y") AND ListLen(arguments.x.y)>
then I get this error message in my CFC (CFMX6.1) pointing to the line
above:
"Element x.y is undefined in ARGUMENTS."
I thought CF used short-circuiting - it does elsewhere, why not here?
Can anyone confirm that I have to change the line to:
<cfif IsDefined("arguments.x.y")>
<cfif ListLen(arguments.x.y)>
Thanks,
Douglas
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]