DIAdem Help

Method: WriteBlankLines for TextStream

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

Method: WriteBlankLines for TextStream

Writes one or more blank lines into a TextStream file.

Object.WriteBlankLines(Lines)
ObjectTextStream
Object with this method
LinesLongInteger
Specifies the number of blank lines.

The following example creates a text file, writes blank lines into this file, and then closes the file:

Sub WriteBlanklinesFile(sFile,iLines)
  Dim fso, oMyFile
  Set fso = CreateObject("Scripting.FileSystemObject")
  Set oMyFile = fso.CreateTextFile(sFile, True)
  Call oMyFile.WriteBlankLines(iLines)
  Call oMyFile.Close
End Sub

Log in to get a better experience