WebSpeed provides two SpeedScript preprocessor definitions to help you use the WebSpeed-defined output stream:
&GLOBAL-DEFINEWEBSTREAMSTREAMWebStream
&GLOBAL-DEFINEDISPLAYDISPLAY{&WEBSTREAM}
These definitions appear in the install-path/src/web/method/cgidefs.i include file used by all Web objects. Thus, the two DISPLAY statements in the following example yield the same result:
FIND FIRST Customer NO-LOCK.DISPLAY {&WEBSTREAM} Customer.Name Customer.Phone.{&DISPLAY} Customer.Name Customer.Phone.
Use one of the forms shown in boldface to guarantee that all of your DISPLAY formatted output appears in the Web page at the corresponding point where the code appears in your Web object.