Safely Copying Structures

Home » Safely Copying Structures

Structures cannot be copies using simple assignments (as in ), do that and you’ll find that when the contents of one structure change, so do the contents of the other. To safely copy structures you must use the StructCopy() function. (Applies to: ColdFusion 4.5 (or later))

Leave a Reply