1:
| What is the default delimiter character for a list? |
A1:
| The comma. Other characters can be used when reading the list by specifying the DELIMITERS parameter in <CFLOOP>. |
2:
| Name three ways to get data into a list. |
A2:
| By manually creating the list with <CFSET>; by dynamically generating list contents with a <CFQUERY>; or by assigning form input to a list . |
3:
| What is a structure key? |
A3:
| It's a unique identifier for a bit of data stored in the structure. |
4:
| Which of the three variable types covered in this chapter can be passed via a URL? |
A4:
| Only lists can be passed in URLs because they are made up of only plain text. Structures and arrays are more complex. |
5:
| When assigning data to arrays, what do the two bracketed numbers after the array name stand for? |
A5:
| The first is the array row in which to insert data; the second refers to the array column. |
6:
| What does the function ArrayLen do, and where would you use it? |
A6:
| It counts the length (in rows) of an existing array. It is often used with +1 to specify that data should be inserted after the last row counted . |