All,

I'm not sure if my mind is doing a complete blank on this or what...
or if I just missed something really obvious.

If i have 2 CFC instances, and I want to check if they are the same
instance, is there an easy way to do this?

Trying to write:

if(oneCFC eq twoCFC)

Produces an error, as you can only use the 'eq' operator on strings
and numerics.

To do this, I've been forced to utilise the
java.lang.System.getIdetityHashCode() to determine if they are the
same object, but this seems a little cludgy.

Is there an easy option that I'm just not seeing?

Cheers,

Mark

--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740


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