field_force_range()

Purpose

Changes validation for the next input

Old name

#define force_range field_force_range

Syntax

void field_force_range(validation);

Parameters

union validation* VALIDATION

Pointer to the validation record to be used

Description

The field_force_range() function changes the validation to take place at the next call to one of the askf_x() or prnx() functions.

The validation only checks that input is in the correct format. You must perform any other checks that are required.

See also

field_force_size(), field_force_colour()