resourceAvailable
function resourceAvailable(res: resource):boolean;
The function returns true if the given resource is available (e.g. if it was open correctly).
See also: openResource, closeResource, readByte, readLine