On Mon, Aug 04, 2003 at 04:33:19AM +0200, Frank Heckenbach wrote:
Emil Jerabek wrote:
On Tue, Jul 29, 2003 at 01:55:18AM +0200, Frank Heckenbach wrote:
- File type INTERACTIVE
What difference does it make?
I suppose we can ignore the difference, since GPC does lazy input, anyway. So `type Interactive = Text;' might suffice.
The first input character would be lost this way, since the program would start with a `get' thinking it retrives the first char, but actually getting the second one.
Oh, it works like this? :-( In GPC, also no `Get' is performed after `Reset', but the buffer is validated when it's referenced. (Which combines the apparent advantage of `Interactive', that it doesn't try to read too early, with compliance to the standard I/O semantics.)
It's tricky enough to combine standard and BP semantics as we try to (there are still bugs). Adding such another kind is not really a nice prospect ...
Frank
Before you start worrying about supporting this feature: I've never worked with Macs, I was just inferring from the description of `Interactive' posted by Adriaan. Can somebody verify it is correct? (Well, TeX behaves this way, and Knuth's description of I/O in Pascal-H is indeed quite similar to the description of Apple UCSD.)
Emil
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707