yaz_range

(PHP 4 >= 4.0.1)

yaz_range --  Specifies the maximum number of records to retrieve

Description

int yaz_range (int id, int start, int number)

This function is used in conjunction with yaz_search() to specify the maximum number of records to retrieve (number) and the first record position (start). If this function is not invoked (only yaz_search()) start is set to 1 and number is set to 10.

Returns TRUE on success; FALSE on error.