Initializing help system before first use

bindrv_nexttoken

Purpose
Get the type of the next token to read.
Synopsis
int bindrv_nexttoken(s_bindrvctx bctx);
Argument
bctx 
A BinDrv reader context
Return value
Type code for the next token or a negative value in case of a read error (end of stream). Possible values are:
BINDRV_TYP_INT 
An integer
BINDRV_TYP_DATA 
A binary data block
BINDRV_TYP_REAL 
A real (as a double)
BINDRV_TYP_STR 
A text string
BINDRV_TYP_BOOL 
A Boolean
BINDRV_TYP_CTRL 
A control token
BINDRV_TYP_LONG 
A long integer (64bit)
Further information
This routine does not return the token itself but indicates which function to use for reading it. For instance, if the return value is BINDRV_TYP_INT, the function bindrv_getint has to be called to retrieve an integer value.
Related topics

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.