inpm_omit()

Purpose

Skips processing of data entry (new version)

Old name

#define skip inpm_omit

Syntax

void inpm_omit(void)

Description

The inpm_omit() function is used with the inpm_x() functions to avoid processing certain fields. It is identical in use to the field_skip() function, but has the advantage of not taking any parameters.

You should always use the function inpm_omit() for the default case statement in data entry functions. Failure to do so is the main cause of programs hanging in such functions.

See also

inpm_x(), inpm(), field_skip()

Example

/* syntax - see inpm_x for full example */
switch (fieldnr)
{
case 1:
inpm_c(customer.name);
break;
default:
inpm_omit();
break;
}