Read

Description

Returns an iSequentialStream that holds the file's content. This is the only way to read binary files (can be saved as database field).

Syntax

Function Read( filename [,hint] )

filename (input, string) - the file to be read (only works with text files) 

hint (input, string) - optional string describing how to open the file. 

Return value

When the hint parameter is present and contains the word "text" the function returns a text variant. Otherwise it returns iSequentialStream