> Just curious if you could do.....
> 
> isDefined("myStruct[element]")
> 
> Doesn't seem to work?

I'm pretty sure you can do isDefined('myStruct.#element#') but I believe
there is a bug in 6.1 (and maybe other versions of MX) that cause this to do
nasty things in some circumstances. I don't know the exact details but can
put you in touch with people who have seen it first hand. Your best bet is
using structKeyExists:

structKeyExists(myStruct,element)



Cheers

Mark


------------------
Mark Stanton 
Technical Director 
Gruden Pty Ltd 
Tel: 9956 6388
Mob: 0410 458 201 
Fax: 9956 8433 
http://www.gruden.com

----------------------------------------------------------
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