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

A string to write to the buffer.

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