• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Structures > Structures as Pointers

Structures as Pointers

In many programming languages, the term pointer signifies that multiple variables can all share the same memory space. With pointers, the variables may have different names, but the values will always be the same because they refer to the same place in memory. ColdFusion stores all structures as pointers.

Although ColdFusion's structure storage does not effect most ColdFusion templates, there are significant consequences when structures are copied because what is made is not actually a copy, but a new way to point to the same values.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint