Initializing help system before first use

XPRBgetvarlink

XPRBgetvarlink


Purpose
Get the interface pointer of a variable.
Synopsis
void *XPRBgetvarlink(XPRBvar var);
Argument
var 
Reference to a BCL variable
Return value
Pointer to an interface object, or NULL.
Example
Set the interface pointer of variable x1 to vlink:
XPRBprob prob;
XPRBvar x1;
void *vlink;
 ...
x1 = XPRBnewvar(prob, XPRB_UI, "abc3", 0, 100);
vlink = XPRBsetvarlink(x1);
Further information
This function returns the interface pointer of a variable to the indicated object. It may be used to establish a connection between a variable in BCL and some other external program.
Related topics