Returns whether the specified file object can be read.
Syntax
canRead( file )
file.canRead( )
Parameters
file
|
the file object being checked.
|
Returns
boolean
|
true if file can be read
false if file can not be read
|
Example
fh = File( storage )
if !fh.canRead( ) then
println( "unable to read from storage" )
exit( -1 )
end
|