1. Home
  2. %FLUSH directive

%FLUSH directive

Flushes server output immediately to the client Output window.

No options or parameters

Description

%FLUSH causes any previous output from PRINT and other commands to be sent immediately to the client Output window. Normally the server collects output until at least 20 lines have accumulated, or until two seconds have passed since the last output, before sending it to the client. If you need output to appear more quickly, for example when using an interactive process, then adding %FLUSH after PRINTstatements will cause this to appear with no delay.

%FLUSH has no effect when used in GenBatch, and is available only in Windows versions of Genstat.

Options: none.
Parameters: none.

See also

Directives: PRINT%CLEAR.
Commands for: Program control.

Updated on February 3, 2023

Was this article helpful?