DBnextSegment

Top  Previous  Next

The next segment of the data bank determine.

With DBfirstSegment and DBnextSegment can be enumerated all segments available in a data bank.

DBfirstSegment delivers the first segment of the data bank, DBnextSegment the in each case following segment.

Parametre

segment (PSEGMENT) [IN]

As an input the trading of a segment must be informed of the procedure to which then the following segment is searched in the segment list.

Result

(PSEGMENT) [OUT]

This is the trading on the segment following segment. If segment the last segment was, ZERO is delivered by the procedure.

Declaration

#include "database.h"

 

PSEGMENT DLLENTRY DBnextSegment (

PSEGMENT segment

);

Related function

DBfirstSegment