ColdFusion scripting is an alternative to using CFML and offers a subset of CFML's functionality. <cfscript> code cannot execute CFML tags, and so you cannot use ColdFusion scripting to run queries or speak with external processes other than Java, COM, or CORBA objects. Instead, you use the scripting language primarily for variable assignments, looping, and conditional statements.
1: | Which of the following cannot be achieved in a <cfscript> block? (Select all that apply.)
|
2: | Choose the statements that are true.
|
3: | What is the output of the following code?
<cfscript> x=1; switch(x){ case 1: {x=2; WriteOutput("World");} case 2: {x=1; WriteOutput("Hello");} } </cfscript>
|