field_end()

Purpose

Removes the cursor from a field and reads or writes information to a redirect file when the REDn program is in use

Syntax

void pascal field_end(int flags)

Parameters

int flags

Determines how function is used; see below

 

The parameter flags may take any of the following values:

 

Value

Meaning

 

0

Field has been completed

 

non-zero (use 1)

Processing is temporarily interrupted prior to a call to field_start(1)

Description

This function, together with field_start() and field_char_get(), is used internally in the construction of DP4 entry routines and is available for developers wishing construct custom input functions which do not use the askf_x() or inpm_x() functions.

The operation of these functions is internal to the terminal manager. The field_end() function is responsible for removing the cursor from a field and for reading or writing information to a redirect file when the REDn program is in use.

See also

field_start(), field_char_get()

Example

See the example given for field_start()