TextInputStream.Open
From Xojo Documentation
Shared Method
TextInputStream.Open(f As FolderItem) As TextInputStream
New in 2009r4
Supported for all project types and targets.
New in 2009r4
Supported for all project types and targets.
Opens the passed FolderItem to be read as a text file. Returns a TextInputStream. An IO error will trigger an IOException.
Notes
Reading from the file will begin at the start of the file. If you wish to read from any other point in the file, use the BytePosition property to move the read position.
This shared method replaces the deprecated FolderItem.OpenAsTextFile.