Initializing help system before first use

XPRMgetnextfield

XPRMgetnextfield


Purpose
Get the next field of a record type.
Synopsis
void *XPRMgetnextfield(XPRMmodel model, void *ref, int typcode, const char **name, int *type, int *number);
Arguments
model 
Reference to a model
ref 
Reference pointer or NULL
typcode 
Type code of the record
name 
Field name
type 
Field type code
number 
Field number (in the record)
Return value
Reference pointer for the next call to XPRMgetnextfield.
Further information
1. This function is used to enumerate fields of a record type. The second parameter is used to store the current location in the list of fields; if this parameter is NULL, the first field of the record is returned. This function returns NULL if it is called with the reference to the last field. Otherwise, the returned value can be used as the input parameter ref to get the following field and so on.
2. The name, type and number are the returned field properties. The field number is used by the function XPRMgetfieldval to retrieve the value of the corresponding field in an object of this record type.
Related topics

© 2001-2020 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.