Echo()
Writes the given string to the main response buffer regardless of conditions established by the <cfsetting> tag.
Echo( string=string );
Returns: Boolean
Examples
stru={};
stru.name="Susi";
echo(stru.name);
echo("<br>I love lucee");
Nice trick with echo and cfcatch
try {
throw "demo echo trick";
} catch (e){
echo(e); // outputs the error nicely using the error template
}
See also
- Debugging
- SystemOutput()
- WriteOutput()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)