CAPL Script

WriteLineEx

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

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

Function

Writes the text into a new line of the specified window, into a page of theCANoeWrite Window or into a logging file. To write into theCANoeTrace Window please activate the CAPLSystem Messagein thepredefined filtersof theTrace Window.

Parameters

sink The target 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. For output to a logging file, this parameter specifies whether comments should be output (severity == 0).If this is not desired, set severity = 1.

format

Formatting character sequence.

Return Values

—

Example

write | writeClear | writeCreate | writeDestroy | writeEx