FileRead()
If a file object is passed in, will read the number of bytes given. If a path to a file name will read in the full file into memory, the second paramter is the charset to read the file. For reading text based files
Usage
STRING = FileRead(
p1,
p2
)
Argument | Summary |
---|---|
p1 | srcFile / file object |
p2 | readsize / charset [optional] |
See Also
DirectoryCreate
DirectoryDelete
DirectoryExists
DirectoryList
Expandpath
FileClose
FileCopy
FileDelete
FileExists
FileIseof
FileMove
FileOpen
FileRead
FileReadbinary
FileReadline
FileSeparator
FileSetaccessmode
FileSetattribute
FileSetlastmodified
FileUpload
FileUploadall
FileWrite
FileWriteline
GetDirectoryfrompath
GetFilefrompath
GetFileinfo
GetTempdirectory
GetTempfile
Unzip
Zip
Ziplist