| class IN |
|---|
| **** | Direct access to stdin. |
| append_line(s:FSTR):FSTR |
|---|
| **** | Retrieve a string from stdin up to the next newline and append it to `s'. |
| clear |
|---|
| **** | resets end_seen and error status |
| create:SAME |
|---|
| eof:BOOL |
|---|
| **** | true if EOF has been encountered. Cleared by "clear". |
| error:BOOL |
|---|
| **** | true if an error has been encountered. Cleared by "clear". |
| get_char:INT |
|---|
| **** | Retrieve a single character as an INT from stdin, negative for end of file. Built-in. |
| get_line:FSTR |
|---|
| **** | A string buffer containing the characters on stdin up to the next newline. |
| get_str:STR |
|---|
| **** | A string containing the characters on stdin up to the next newline. |
| get_str_sized(buf:FSTR,sz:INT) |
|---|
| **** | Read at most sz-1 characters and place them in buf, followed by trailing '\0'. Built-in. |
| const size : INT := 256; |
|---|