RANDOM - is file random or sequential?

RanDom (S1) returns I

If S1 is a random readable file, RanDom returns an integer greater than zero. If it is a sequential readable file, RanDom returns zero. If RanDom is unable to read the file (permissions denied, no such file, etc.), RanDom returns an integer less than zero. You can use RanDom in conjunction with ReadFile to find out whether a file is readable and sequential.

Copyright © 1996, Thinkage Ltd.