DIAdem Help

Method: GetNextLine for File

  • Updated2024-09-12
  • 1 minute(s) read

Method: GetNextLine for File

Reads all characters up to the next end of line.

sGetNextLine = Object.GetNextLine
ObjectFile
Object with this method
sGetNextLineString
Receives the characters that have been read out.

The following example reads the next 20 characters from the file and interprets the characters as a channel name. The example reads the subsequent text as a channel comment.

Dim sMyChnName    : sMyChnName = File.GetCharacters(20)
Dim sMyChnComment : sMyChnComment = File.GetNextLine

Log in to get a better experience