trm_refresh()

Purpose

Refreshes the screen display

Old name

#define refresh trm_refresh

Syntax

void trm_refresh(void);

Description

The trm_refresh() function forces the screen output to be refreshed. The screen display is normally updated when input from the user is requested, because this is more efficient.

This function is commonly used in batch processing where no user input occurs for long periods of time, during which a progress report is being displayed on the screen.

Example

See the example given for tf_write_record() on updating the display during a batch process.