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 NAMEStringName of the file including extension EXTENSIONStringFile extension SIZEscalar (bytes) Size of the file READALLFileContentReads file contents WRITE(String|FileContent)boolean Writes the given string to the file WRITELN(string)FileContentWrites the given string and a newline to the file CLEARNone Clears this file
-
VolumeFile:
EXTENSION¶ Access: Get only Type: StringFile extension (part of the filename after the last dot).
-
VolumeFile:
READALL()¶ Returns: FileContentReads the content of the file.
-
VolumeFile:
WRITE(String|FileContent)¶ Returns: boolean Writes the given string or a
FileContentto the file. Returns true if successful (lack of space on theVolumecan cause a failure).
-
VolumeFile:
WRITELN(string)¶ Returns: boolean Writes the given string followed by a newline to the file. Returns true if successful.
-
VolumeFile:
CLEAR()¶ Returns: None Clears this file