[ACFUG Discuss] structCount and structDelete

2008-09-04 Thread Brooks . Wilson
Does anyone know of a difference between CF7 and CF8 concerning structCount and structDelete? The following code snippet performs differently in CF7 and CF8: cfset url=structNew()/ cfset url.one = 1/ cfset url.two = 2/ cfset url.three = 3/ cfdump var=#structCount(url)#/ cfdump var=#url#/

Re: [ACFUG Discuss] structCount and structDelete

2008-09-04 Thread Cameron Childress
I think structDelete() returns true/false for success/fail on deleting keys. What do you see if you cfoutput#structDelete(url,'three')#/cfoutput? -Cameron On Thu, Sep 4, 2008 at 2:21 PM, [EMAIL PROTECTED] wrote: Does anyone know of a difference between CF7 and CF8 concerning structCount and

Re: [ACFUG Discuss] structCount and structDelete

2008-09-04 Thread David . Scruggs
Childress [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/04/08 02:38 PM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject Re: [ACFUG Discuss] structCount and structDelete I think structDelete() returns true/false for success/fail on deleting keys. What do you see

Re: [ACFUG Discuss] structCount and structDelete

2008-09-04 Thread Cameron Childress
PM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject Re: [ACFUG Discuss] structCount and structDelete I think structDelete() returns true/false for success/fail on deleting keys. What do you see if you cfoutput#structDelete(url,'three')#/cfoutput? -Cameron

Re: [ACFUG Discuss] structCount and structDelete

2008-09-04 Thread Cameron Childress
Brooks- Interesting - just tested on 8 and it looks like CF8 is not (re)counting the struct members of the URL scope properly on CF8 at least. This may be a bug in CF, but I would generally frown on *creating* URL structures since they are reserved and used for another purpose in CF already.

Re: [ACFUG Discuss] structCount and structDelete

2008-09-04 Thread David . Scruggs
by: [EMAIL PROTECTED] 09/04/08 03:10 PM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject Re: [ACFUG Discuss] structCount and structDelete I guess I don't see what is wrong with that output. That's exactly what I would expect it to be. You saying this problem was resolved