printf
printf |
Purpose
Synopsis
int printf(XPRMcontext ctx, const char *format, ...);
Arguments
ctx
|
Mosel's execution context
|
format
|
printf style format
|
Return value
The number of characters printed or -1 in the case of an error.
Further information
This function sends a message to the current output stream of the running model. The parameters expected by this function correspond to those of the standard C function
printf. The special format
%r can also be used to display real values: it implies the use of the format specified by control parameter
realfmt (see
getparam).
Related topics