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

Part: 10 Appendix > Chapter 15

Chapter 15

A1: B. Remember that structures are pointers. Both of the structures (A and B) are the same structure, and each equals 2 after being set a second time.
A2: B. The attributes that are used with a <cfloop> and a structure are item and collection. # must be used around the structure within the collection attribute.
A3: A. StructNew() takes no parameters. The other three options are all valid.
A4: B and C. A is invalid, because spaces are not allowed in key names when using dot notation. B is valid, as long as lastname is a variable containing a valid key name. C is standard dot notation. D is invalid, because quotes are not allowed in key names.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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