Previous Page: CPXmsgFirst PageNext Page: CPXmstwrite

CPXmsgstr


Description

The routine CPXmsgstr() is used to send a character string to a CPLEX message channel. It is provided as an alternative to CPXmsg(), which due to its variable length argument list, cannot be used in some environments, such as Visual Basic.

Return Value

The routine returns the number of characters in the string msg.

Synopsis

int CPXmsgstr (CPXCHANNELptr channel,
               char *msg);

Arguments


CPXCHANNELptr channel
The pointer to the channel receiving the message.

char *msg
A pointer to a string that should be sent to the message channel.

Example

CPXmsgstr (p, q);

Previous Page: CPXmsgFirst PageNext Page: CPXmstwrite