Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications

> ## 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 3–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 3–1: WebSpeed preprocessors
> Preprocessor name | Assigned value
> --- | ---
>     &WEBSTREAM
>     STREAM Webstream
>     &OUT
>     PUT {&WEBSTREAM} UNFORMATTED
>     &OUT-FMT
>     PUT {&WEBSTREAM}
>     &OUT-LONG
>     EXPORT {&WEBSTREAM}
>     &DISPLAY
>     DISPLAY {&WEBSTREAM}

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