XSLPgetindex
XSLPgetindex |
int XPRS_CC XSLPgetindex(XSLPprob Prob, int Type, char *cName, int *Index);
Prob
|
The current SLP problem.
|
||||||||||
Type
|
Type of entity. The following are defined:
The constants 1 (for row names) and 2 (for column names) may also be used. |
||||||||||
cName
|
Character string containing the name, terminated by a null character.
|
||||||||||
Index
|
Integer to receive the index of the item.
|
int UpperIndex, LowerIndex; XSLPgetindex(Prob, XSLP_INTERNALFUNCNAMESNOCASE, "SIN", &UpperIndex); XSLPgetindex(Prob, XSLP_INTERNALFUNCNAMESNOCASE, "sin", &LowerIndex);
All entities count from 1. This includes the use of 1 or 2 (row or column) for Type. A value of zero returned in Index means there is no matching item. The case-insensitive types will find the first match regardless of the case of cName or of the defined function.
© 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.