Initializing help system before first use

XSLPsetstring

XSLPsetstring


Purpose
Set a value in the Xpress NonLinear string table
Synopsis
int XPRS_CC XSLPsetstring(XSLPprob Prob, int *Param, const char *cValue);
Arguments
Prob 
The current SLP problem.
Param 
Address of an integer to receive the index of the string in the Xpress NonLinear string table.
cValue 
Value to be set.
Example
The following example puts the current date and time into the Xpress NonLinear string table and later recovers and prints it:
int iTime;
char *Buffer[200];
time_t Time;
time(&Time);
XSLPsetstring(Prob, &iTime, ctime(Time));
...
XSLPgetstring(Prob, iTime, Buffer);
printf("\nStarted at %s",Buffer);
Further information
XSLPsetstring provides a convenient way of passing string information between routines by means of integer indices.
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.