udfPrintMess()

Print a message to the standard output, or .log file, if active.

Syntax

udfPrintMess( udfHd, format, ... ) ;

Type

AcuSolve User-Defined Function Basic

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
format
C printf() format.
...
List of C variables.

Return Value

None

Description

This routine prints a message to the standard output, or the .log file, if active. The argument list is the same as that of fprintf(, except that here udfHd takes the place of the file descriptor. For example,

String user_name ;
...
user_name = udfGetName( udfHd ) ;
udfPrintMess( udfHd, "user name is %s", user_name ) ;

Errors

This routine expects a valid udfHd.