Name

WriteOutput — New as of ColdFusion 4.5

Synopsis

WriteOutput(string)

Writes text to the page output stream. WriteOutput( ) is meant to be used inside CFSCRIPT blocks but can also be used inside CFOUTPUT sections. Examples:

<CFSCRIPT>
WriteOutput('The WriteOutput function works best inside CFSCRIPT blocks<BR>');
</CFSCRIPT>

<CFOUTPUT>
#WriteOutput('Although you can use it in CFOUTPUT spaces, why would you?')#
</CFOUTPUT>

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.