Equinox Online Help - Language Reference - A to Z

Home

WebPrint

Applies to
SyntaxWebPrint [item] [, ; ;;] [item] ...
ActionOutputs a delimited list of string data to the current web page
ScopeUsed in method language on an ESP page.
Notes

This command works in the same way as the Print statement, but output is to the web page. Item may be of any type convertible to string. Arrays are supported.

If WebPrint needs to output a newline, it uses <BR>

CategoryWeb Server
See Also WebOutput, WebOutputFile, WebPrint
Example

This example adds a <BR> to the current web page.

WebPrint

This example adds a small header block using WebPrint and various types of item delimiter and string expression.

<<% string sTimeOfDay
if now < '12:00' then sTimeOfDay = "morning" else sTimeOfDay = "afternoon"
WebPrint ;; "";; ""; "Good", sTimeOfDay; $ $
%>>