Output


Output within cfscript blocks is done using the WriteOutput function. The use of this function is the same as any other ColdFusion function: WriteOutput(expression ).

Note

WriteOutput differs from CFOUTPUT in that you can use any expression within the WriteOutput function.

For example:

 <cfscript>    WriteOutput(NOT Val('foo'));  </cfscript> 

will output the following:

 YES 




Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net