Echo()
Writes the given string to the main response buffer regardless of conditions established by the <cfsetting> tag.
Echo( string=string );
Returns: Boolean
| Argument | Description |
|---|---|
|
string
string,
required
|
edit
A string to write to the buffer. |
Examples
editstru={};
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 open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)