Node:find-next-text-no, Next:, Previous:create-anonymous-text-old, Up:Protocol Requests



find-next-text-no [60] (3) Recommended


        find-next-text-no [60] ( start : Text-No )
                -> ( Text-No );

This call returns the next readable text in the database created after text start. start does not have to be a valid or readable text number, as shown in the examples.

Example:

        1 60 0
        =1 2
        1 60 2
        =1 4

This example shows how to retrieve the first readable text in the LysKOM database by calling find-next-text-no with start set to zero. In the example, the first text is number 2. The second example gets the text following number 2, which happens to be text number 4.

Error codes


login-first
Login required before issuing this call.
no-such-text
There is no text following text start.