WebSpeed
Developer’s Guide


WebSpeed Preprocessors

The preprocessor is a function of the Progress 4GL compiler that also applies to SpeedScript. On its initial pass through source code, the compiler looks for preprocessor directives and performs text substitutions when it finds them. All directives begin with an ampersand (&).

The WebSpeed preprocessors, which are listed in Table 5–1, provide consistent access to the Web environment, especially the Web output stream. The definitions of WebSpeed preprocessor names reside in install-path/src/web/method/cgidefs.i.

Table 5–1: WebSpeed Preprocessors 
Preprocessor Name
Assigned Value
&WEBSTREAM
STREAM Webstream
&OUT
PUT {&WEBSTREAM} UNFORMATTED
&OUT-FMT
PUT {&WEBSTREAM}
&DISPLAY
DISPLAY {&WEBSTREAM}


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095