-
Notifications
You must be signed in to change notification settings - Fork 15
FS.ReadText
boxgaming edited this page Jul 5, 2026
·
3 revisions
Returns the full contents of a text file as a string.
Available in release 0.11.0
fileContent$ = FS.ReadText (filepath$)
- The filepath$ parameter indicates the path to the file whose contents should be read.
Example: Print the full contents of a given file.
Import FS From "lib/io/fs.bas"
Dim content As String
content = FS.ReadText("README.txt")
Print content