XBase.EOF

Syntax:

EOF()

Returned value:

Type: Boolean.
True means that the pointer is beyond the last record; False indicates that it has not reached the end of the file.

Description:

Receives a flag showing that the current record pointer has reached the end of file.

Availability:

Thin client, server, thick client, external connection.

Example:

// Maximum value of the COST field
xB.First();
MaxCost = 0 ;
While 
Not xB.EOF() Do
    If xB.COST > MaxCost Then
        MaxCost = xB.COST;
    EndIf
;
    xB.Next();
EndDo
;


    

1C:Enterprise Developer's Community