NAME

cxTypeMismatchMsg - return a suitably formatted string describing erroneous data
#include <cx/TypeMismatchMsg.h>

const char *cxTypeMismatchMsg( cxPortDir direction, const char *portName, const char *portType, const char *dataType)
character*(*) function cxTypeMismatchMsg( direction, portName, portType, dataType)
integer direction
character*(*) portName
character*(*) portType
character*(*) dataType
direction
Input enumerated value indicating input (0) or output (1) port type.
portName
Input character string giving the port's name.
portType
Input character string giving the port's expected data type.
dataType
Input character string giving the received data type.
cxTypeMismatchMsg returns a static character string indicating that portName expected data of type portType, but received data of type dataType. cxTypeMismatchMsg returns a static character string indicating that portName expected data of type portType, but received data of type dataType. cxTypeMismatchMsg is used by the input and output data type checking routines cxPortCheckIn and cxPortCheckOut, which are automatically generated for every module in the <module>.cx.c file. cxTypeMismatchMsg is provided so that users can create error messages similar to those created by the automatically generated code. cxTypeMismatchConnectMsg(3E), cxTypeMismatchPortMsg(3E)
Last modified: Mon Nov 6 16:33:50 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1999