[fpc-pascal] list classes or arrays in FPC

2007-10-01 Thread Graeme Geldenhuys
Hi, Anybody know what list classes or arrays are available in FPC? I know the standard TObjectList and TStringList, but I'm pretty sure there must be more 'not so well known' lists available. I'm busy implementing a Objects[ARow, ACol] property for fpGUI's StringGrid component and would like to

[fpc-pascal] Windres

2007-10-01 Thread Hans Mårtensson
The FPC documentation prog.pdf (win32 version) explains how to use the windres.exe to format data such that the FPC compiler can include them i the exe file as a resource that can be used by the program via the windows API's. But only for string tables. Yet it indicates that the windres.exe

[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] list classes or arrays in FPC

2007-10-01 Thread Joao Morais
Graeme Geldenhuys wrote: Anybody know what list classes or arrays are available in FPC? I know the standard TObjectList and TStringList, but I'm pretty sure there must be more 'not so well known' lists available. contnrs unit? I'm busy implementing a Objects[ARow, ACol] property for fpGUI's

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

[fpc-pascal] gprof

2007-10-01 Thread Mattias Gaertner
It seems the gprof option -pg is still there, but it does not work. What are the plans for this feature? What else can be used as profiler for fpc? Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org