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