VolumeFile¶
File name and size information. You can obtain a list of values of type VolumeFile using the LIST FILES command.
- structure VolumeFile¶
¶ Suffix
Type
Description
All suffixes of
VolumeItem
VolumeFile
objects are a type ofVolumeItem
Reads file contents
Writes the given string to the file
Writes the given string and a newline to the file
None
Clears this file
- VolumeFile:READALL()¶
- Returns
Reads the content of the file.
- VolumeFile:WRITE(String|FileContent)¶
- Returns
Writes the given string or a
FileContent
to the file. Returns true if successful (lack of space on theVolume
can cause a failure).
- VolumeFile:WRITELN(string)¶
- Returns
Writes the given string followed by a newline to the file. Returns true if successful.
- VolumeFile:CLEAR()¶
- Returns
None
Clears this file