CAPL Script

WriteEx

Syntax

void writeEx(long sink, dword severity, char format[], ...)

Function

Writes the text into the last line of the specifiedCANoewindow, into a page of the Write Window or into a logging file without previously creating a new line. To write into theCANoeTrace Window please activate the CAPLSystem Messagein thepredefined filtersof theTrace Window.

Parameters

sink Sink identifier of the page to which the output will take place. Values:

severity

Constant for the type of message. Values: The parameterseverityhas no meaning for output to the Trace Window.

format

Formatting character sequence.

Return Values

Example

write | writeClear | writeCreate | writeDestroy | writeLineEx