Ah. I see. You're totally right. That doesn't make sense. Serves me right for firing off a quick response... :-( The following code returns "YES" so I wonder if it's because the structkeyexists() from Sammy's code involves the URL scope? <cfset s = structNew()> <cfset s.test = 1> <cfset tempS = structcopy(s)> <cfset structdelete(tempS, "test")> <cfoutput> #structkeyexists(s,"test")# </cfoutput> My bad. Sorry, Sammy. Jon On Oct 26, 2006, at 8:39 PM, Jim Flannery wrote:
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected] |
- [CFCDEV] [OT] What would you expect the output of this to be,... Sammy Larbi
- Re: [CFCDEV] [OT] What would you expect the output of th... Dan O'Keefe
- Re: [CFCDEV] [OT] What would you expect the output of th... Jon Clausen
- Re: [CFCDEV] [OT] What would you expect the output of th... Sammy Larbi
- Re: [CFCDEV] [OT] What would you expect the output of th... Jon Clausen
- Re[2]: [CFCDEV] [OT] What would you expect the output of... Jim Flannery
- Re: Re[2]: [CFCDEV] [OT] What would you expect the outpu... Jon Clausen
- Re: [CFCDEV] [OT] What would you expect the output of th... Sammy Larbi
- Re: [CFCDEV] [OT] What would you expect the output of th... Sammy Larbi
