[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Byte_Field


Purpose   Assigns a byte variable to an input field.

Decln.    Byte_Field(ID:byte;var BVar:byte;Fmt:Lstring;Min,Max:byte);

Remarks   ID is the field ID number.
          Bvar is the name of the byte variable that will be updated with
          the user's input.
          Fmt is the format of the input field. Pass a null string '' for
          the default.
          Min, Max are the minimum and maximum values for range check. Set
          to 0 to accept any byte value.

          The field must be declared with Add_Field prior to calling this
          procedure.

Example

BEGIN
    ACTIVATE_TABLE(3);
    BYTE_FIELD(1, AGE, '', 0,120);
    BYTE_FIELD(2, DAY, '', 1,31);
END;

See Also: Add_Field Word_Field Integer_Field LongInt_Field Real_Field
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson