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]