CAPL Script

WriteClear

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 writeClear(dword sink)

Function

Clears the contents of the specified page in the Write Window.You can use the following constants for the target identifier or type of message: // write sinksdword WRITE_SYSTEM = 0;dword WRITE_CAPL = 1; In addition you can use one of the target identifiers returned by the functionwriteCreate. You can clear all tabs using "-1" as parameter. TheOverviewpage can’t be cleared solely.

Parameters

sink Target identifier for the page to be deleted.

Return Values

—

Example

write | writeCreate | writeDestroy | writeEx | writeLineEx