On 6/2/05, Ken Dunnington <[EMAIL PROTECTED]> wrote: > I've written a small function to normalize structure key case (for use in > AMF data transfer on MX 6.1) and it works well so far, but when it comes to > components, I get some strange behavior that I think must have something to > do with passing objects by reference. My code looks like this: > > <cffunction name="structNormalize" returnType="struct" output="false" ... > <cfset var retStruct = structNew() />
Well, you're turning your components into structs. Regardless of whether a component or a struct comes in, you always return a struct. -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ---------------------------------------------------------- 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]
