regstring
regstring |
Purpose
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. The returned value is a copy of the string argument (unless the provided parameter was already a registered string).
Related topics