ok... I was wrong, again... I could of sworn last night it was erroring
on isDefined, but it was probably erroring on my attempt to use the
value.

Anyways, isDefined("thing.foo") returns TRUE, not false, so this is why
the only way I can test for it is by using try/catch.

-dave




>>> [EMAIL PROTECTED] 2/26/2004 8:38:54 AM >>>
On Feb 26, 2004, at 4:30 AM, David Ross wrote:
> actually, I was wrong about the behavior because of some other
logic...
> I isolated the struct and:
>
> structKeyExists(thing,"foo") returns true
>
> isDefined("thing.foo") throws an error

An error? Odd. It should just return false. What error is it giving?

Regards,
Sean

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words '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]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words '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]

Reply via email to