[fpc-devel] Console IO revisited
Thaddy
thaddy at thaddy.com
Fri Dec 3 14:11:26 CET 2010
On 3-12-2010 13:52, Michael Van Canneyt wrote:
>
> As said in my other mail:
> The behaviour of Input, Output, StdErr is not governed by OS rules,
> but by the pascal standard.
>
> Michael.
My understanding has always been that the PASCAL syntax allowed for
console IO in a way that encapsulates the console IO features that an OS
supports.
Although it might very well be PASCAL was the first high level language
to support it.. Wait! Oh, no it's not, that was Fortran (port(5); and
port(6); ;-) ) since the 50's.
By today's standards I suppose you should read it like that. But I will
give up my efforts if nobody else cares... :-)
It just seems strange and a wrong way of doing things.
But I agree, only from an OS perspective, not from the language point of
view.
In the context of OS's CONIN$ etc are rather common beasts and might
have - a lot: windows 1 f.e - something to do with Pascal history, but
not with the language as such anymore.
In the case of historic arguments I see no reason to change over 40 year
old expected language behaveour anyway :-)
If you all say no, I will live with it.
More information about the fpc-devel
mailing list