next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: isReady(File)

isReady(File) -- whether a file has data available for reading

Synopsis

Description

i1 : f = openInOut "!cat"

o1 = !cat

o1 : File
i2 : isReady f

o2 = false
i3 : f << "hi there" << flush;
i4 : isReady f

o4 = false