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


Purpose   Assigns an integer variable to an input field.

Decln.    Integer_Field(ID:byte;var
          IVar:integer;Fmt:string;Min,Max:integer);

Remarks   ID is the field ID number.
          Ivar is the name of the integer 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 integer value.

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

Example

BEGIN
    ACTIVATE_TABLE(3);
    INTEGER_FIELD(3, LENGTH, '', 0,0);
    INTEGER_FIELD(4, WIDTH, '', 1,5000);
END;

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