XSLPgetstring


Purpose
Retrieve the value of a string in the Xpress-SLP string table
Synopsis
int XPRS_CC XSLPgetstring(XSLPprob Prob, int Param, char *cValue);
Arguments
Prob 
The current SLP problem.
Param 
Index of the string whose value is to be returned.
cValue 
Character buffer to receive the value.
Example
The following example retrieves string number 3
char Buffer[60];
XSLPgetstring(Prob, 3, Buffer);
Further information

The value will be terminated by a null character. The buffer must be long enough to hold the string including the null terminator.

Strings are placed in the Xpress-SLP string table by XSLPsetstring and also by the formula parsing routines for the XSLP_UNKNOWN token type.


Related topics
XSLPsetstring


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.