Character windows - field formatsΒΆ

An alphanumeric field may be assigned a format template mapping the treatment of each individual character upon input. The following characters are valid:

l

Folds the characters A-Z to lower case on input. Any input is valid.

L

Demands an alphabetical character (A-Z, a-z) at this position, and folds it to lower case upon input.

u

Folds the characters a-z to upper case on input. Any input is valid.

U

Demands an alphabetical character (A-z, a-z) at this position, and folds it to upper case upon input.

space

Any input valid.

If the format template is shorter than the field length, then the character at the end of the template is applied to the rest of the field. Therefore, a single character format applies to the whole field. If the format template is longer than the field length, the extra characters are ignored.

These format characters have no effect on assignment to a field. The treatment on assignment is handled by flags.


RELATED TOPICS

Character windows

Field formats

Alphanumeric formats