Returns whether the specified print stream object has encountered an error.
Syntax
checkError( printstream )
printstream.checkError( )
Parameters
printstream
|
the print stream object to use.
|
Returns
boolean
|
true if an error occurred.
false if no error has occurred.
|
Example
if fh.checkError( ) then
println( "error" )
end
|