WriteOutput
Print a message with line break to the buffer
Method Signature
WriteOutput(message=[any])Arguments
Argument
Type
Required
Description
Default
message
any
true
The message to print
Examples
Output the literal string "Hello World"
writeOutput( "Hello World" );
Output the equivalent string as a variable
greeting = "Hello World";
writeOutput( greeting );
Using the encodeFor argument
CF2016+ Passing in html to the encodeFor argument wraps the result with a call to encodeForHTML.
Result: Hello Pete
Additional Examples
Related
Last updated
Was this helpful?
