On 11 Dec 99, at 12:43, Peter Gerwinski wrote:
If you `close' the file before the `extend', it works.
Do you happen to know what Extended Pascal thinks about how `close' should work?
Yes, but "close" isn't part of Extended Pascal. (Well, to be honest, David's program isn't Extended Pascal either, as there is no second argument to "reset" in EP either. However, if this is rewritten in EP to use bindings, it still fails improperly.)
By the way, a related bug is that GPC accepts the "close" function as predefined in EP (i.e., with --extended-pascal), which it shouldn't. It should give a compilation error.
-- Dave