Cicode Programming Reference > Cicode Function Categories > Clipboard Functions Introduction > ClipWriteLn

ClipWriteLn

Writes a line of text to the Windows clipboard. With this function, you can write any amount of text to the clipboard. Call this function once for each line of text. To terminate the block of text, call this function and pass an empty string.

Syntax

ClipWriteLn(sText)

sText:

The line of text to write to the clipboard, or an empty string ("") to end the write operation.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

ClipCopy

Example

ClipWriteLn("first line of text");
ClipWriteLn("second line of text");
ClipWriteLn(""); ! End of write operation

See Also

Clipboard Functions