TextWindow.readLine


readLine(i)

Read the ith last line of text from the text output window of LUSAS Modeller

iintegerThe index of the desired line of text. The first (oldest) line is 0
Return valuestringThe 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