Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

ClipReadLn

  • Last UpdatedJul 18, 2023
  • 1 minute read

Reads a single line of text from the Windows clipboard. With this function, you can read a block of text from the clipboard - line by line. Call the function once to read each line of text from the clipboard. When the end of the clipboard is reached, an empty string is returned.

Syntax

ClipReadLn()

Return Value

One line of text from the clipboard (as a string). If the clipboard is empty, an empty string is returned.

ClipPaste

Example

/* Get first line of text from clipboard. */
sText = ClipReadLn();
WHILE StrLength(sText) > 0 DO
! Do something with text
...
! Read next line of clipboard
sText = ClipReadLn();
END

See Also

Clipboard Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in