Initializing help system before first use

XPRMgetprevlistelt

XPRMgetprevlistelt


Purpose
Get the previous element of a list.
Synopsis
void *XPRMgetprevlistelt(XPRMlist list, void *ref, int *type, XPRMalltypes *value);
Arguments
list 
Reference to a list
ref 
Reference pointer or NULL
type 
Returned type
value 
Pointer to an area where the result is returned
Return value
Reference pointer for the next call to XPRMgetnextlistelt.
Further information
This function is used to enumerate elements of a list in reverse order. The second parameter is used to store the current location in the list; if this parameter is NULL, the last element of the list is returned. This function returns NULL if it is called with the reference to the first element. Otherwise, the returned value can be used as the input parameter ref to get the following element and so on. The function returns in the third argument the type of the object stored in value: this correspond to the value returned by XPRMgetlisttype if all elements have the same type.
Related topics

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