InputStream
class InputStream
Input stream. Supports sequential reading only, ignoring white space.
Member Variables
Name | Description |
---|---|
file:File? | File handle. |
Member Functions
Name | Description |
---|---|
open | Open file. |
open | Open file with default mode. |
close | Close file. |
eof | Check for end-of-file. |
scanInteger | Read integer. |
scanReal | Read real. |
Member Function Details
close
function close()
Close file.
eof
function eof() -> Boolean
Check for end-of-file.
open
scanInteger
function scanInteger() -> Integer?
Read integer.
scanReal
function scanReal() -> Real?
Read real.