inpm()

Purpose

General combined data input function (new version)

Syntax

int inpm(data, dtype, length, flags)

Parameters

ANY* data

Pointer to data to display and input

 

int dtype

The data type of the data

 

int length

The internal length of the data

 

int flags

Parameter specifying the display format of input fields

 

The parameter flags may take any of the same values as the global variable scrn_flags when used with the askf_x() functions

Description

The inpm() function is the combined new input function that is the equivalent of the function scrn_map().

The inpm_x() functions are implemented using this function. See the inpm_x() functions for details.

Return values

Returns the value of the global variable abort_code unless it equals SPACE_BAR, when 0 is returned.

See also

scrn_map(), inpm_x()