Retrieves a string containing the screen without line breaks starting at the specified text position.
Position values must be greater than 0 and less than the corresponding screen dimension.
sContent = screen.GetContent(fromPosition, [length])
Variable | Description |
---|---|
sContent | STRING. |
fromPosition | The start position on the screen, starting with 1 for the first column or line. TEXTPOS. |
length | Optional.The number of characters on the screen to read. A specified length must be greater than -1. Reading stops at the end of the screen. If omitted the content to the end of the screen is returned. INTEGER. |