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

Part: 10 Appendix > Chapter 21

Chapter 21

A1: D and F. The <CFHTTP> tag and custom tag interfaces have been exposed only through tag-based interfaces, so they cannot be used within a <CFSCRIPT> block. All the other options are accessible using functions. Remember that none of ColdFusion's services (query, HTTP, FTP, and so on) are available in a <CFSCRIPT> block.
A2: D. A is false because the same operators are used in CFML as in <CFSCRIPT> blocks. B is false because CFML is capable of doing things that <CFSCRIPT> blocks are not (such as database queries). C is false because switch/case statements are available in both syntaxes.
A3: D. As no break statement is used, both lines of code are executed.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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