fread


reads a file following a similar syntaxe as C language

fread

fread(p,n)

returns n chars read from the file opened by:
p=fopen("name r");
Returns NIL if end of file.
Options:
format("char") chars (default).
format("float") floats.
format("long") longs.
number(n): reads from address n.
Examples:
see fopen

See also

fopen
fclose
getline
getword
fwrite