XSLPgetstring
PurposeRetrieve the value of a string in the Xpress-SLP string tableSynopsisint 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.ExampleThe following example retrieves string number 3char Buffer[60]; XSLPgetstring(Prob, 3, Buffer);Further informationThe 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
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.