regstring


Purpose
Register a text string.
Synopsis
const char *regstring(XPRMcontext ctx, const char *string);
Arguments
ctx 
Mosel's execution context
string 
Text string to register
Return value
Registered text string.
Further information
Mosel requires that each text string is registered. If a native function returns a newly generated string or uses a new string in a Mosel data structure (like a set), this string must be registered with this function before it is used.
Related topics
setglobal, addelset, addellist, insellist, setarrval, setfieldval.


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