Initializing help system before first use

setglobal

setglobal


Purpose
Set the value of a global identifier.
Synopsis
int setglobal(XPRMcontext ctx, const char *text, XPRMalltypes *value);
Arguments
ctx 
Mosel's execution context
text 
Name of the object to be assigned a value
value 
Value to be assigned
Return value
Assignment succeeded
Name not found
Operation not permitted
Further information
This function sets the value of a global object (model identifier declared in a declarations block outside of any procedure or function).
Related topics