Re: [fpc-pascal] Turbo Pascal Mode Bug?

2007-10-02 Thread Felipe Monteiro de Carvalho
As per the docs: http://www.freepascal.org/docs-html/prog/progsu82.html#x90-91.2.17 There is a GNU pascal mode. AFAIK Gnu Pascal follows ISO Pascal, so it would be possible to use Free Pascal with this mode, or GNU Pascal, to have a compiler that complies with ISO Pascal. -- Felipe

Re: [fpc-pascal] Turbo Pascal Mode Bug?

2007-10-02 Thread Daniël Mantione
Op Tue, 2 Oct 2007, schreef Felipe Monteiro de Carvalho: As per the docs: http://www.freepascal.org/docs-html/prog/progsu82.html#x90-91.2.17 There is a GNU pascal mode. AFAIK Gnu Pascal follows ISO Pascal, so it would be possible to use Free Pascal with this mode, or GNU Pascal, to

[fpc-pascal] Turbo Pascal Mode Bug?

2007-10-01 Thread Zaka E-Lab
Hello, I have a peace of code that demonstrates that in the TP mode of freepascal, one can use a function as a procedure. Is this a bug or a normal behavior? My University have replaced ( other time ) freepascal.org, and we must use the archaic Turbo Pascal 6.0, cause they say that freepascal

Re: [fpc-pascal] Turbo Pascal Mode Bug?

2007-10-01 Thread Florian Klaempfl
Zaka E-Lab schrieb: Hello, I have a peace of code that demonstrates that in the TP mode of freepascal, one can use a function as a procedure. Is this a bug or a normal behavior? Normal because FPC emulates TP7, just add {$X+} in TP6 and you get the same behaviour. My University have

Re: [fpc-pascal] Turbo Pascal Mode Bug?

2007-10-01 Thread Daniël Mantione
Op Mon, 1 Oct 2007, schreef Zaka E-Lab: My University have replaced ( other time ) freepascal.org, and we must use the archaic Turbo Pascal 6.0, cause they say that freepascal don't respect the ISO Pascal. Funny. Free Pascal does not respect ISO Pascal, because it respects Turbo Pascal. :)

Re: [fpc-pascal] Turbo Pascal Mode Bug?

2007-10-01 Thread Zaka E-Lab
Daniël Mantione: Funny. Free Pascal does not respect ISO Pascal, because it respects Turbo Pascal. :) Turbo Pascal in turn, does not respect ISO Pascal, because it respects UCSD Pascal. Is very confusing when talking about Standard Pascal, cause it's not like C/C++ that have standard that is

Re: [fpc-pascal] Turbo Pascal Mode Bug?

2007-10-01 Thread Jonas Maebe
On 01 Oct 2007, at 18:35, Zaka E-Lab wrote: Florian Klaempfl: Normal because FPC emulates TP7, just add {$X+} in TP6 and you get the same behaviour. Is there a way to do the contrary? I mean, to avoid the use of a function as a procedure in freepascal. Add {$x-} Jonas