Equinox Online Help - Language Reference - A to Z

Home

WebOutput

Applies to
SyntaxWebOutput StringOrPicture [, Encoding]
Action[statement] prints [expression] to screen
ScopeUsed in method language on an ESP page.
Notes

WebOutput has been used rather than Print to preserve Print for debugging purposes. Otherwise they are syntactically identical.

CategoryWeb Server
See Also WebBaseDirectory, WebCurrentPage, WebGetCookies, WebGetHeader, WebOutputFile, WebParameter, WebPostData, WebRedirect, WebSetCookie, WebSetHeader
Example

This example is extracted from HTML code and uses the WebOutput statement to print Title, Name and Surname in a web browser.

<table>

<<%
subtable Users
setindex useTitleGX
findrecord eq, "Mr"

while useTitle = "Mr"
%>>

<tr><td>

<<%
webOutput useTitle
%>>

</td><td>

<<%
webOutput useFirstName
%>>

</td><td>

<<%
webOutput useSecondName
%>>

</td></tr>

<<%
nextrecord
end while
end subtable | users
%>>
</table>