Read the ith last line of text from the text output window of LUSAS Modeller
i | integer | The index of the desired line of text. The first (oldest) line is 0 |
Return value | string | The line of text from the output window. The new line character is automatically removed. |
Example
To read and display the oldest line of text from the text window
text = textWin.readLine 0
call msgbox text
See also countLines writeLine
Back to TextWindow
Back to Overview