Re: [fpc-pascal]FP newbie

2003-11-14 Thread Eduardo Morras
But some Mac user (/me smells a Jonas) will probably correct me :-) Yes, you are true. Apple contracts (is this the correct verb?) N.Wirth in 1982-3 to develop an Object Pascal language/compiler. MacOS was written in pascal and assembler from version 0 to 6.x.; System 7.0 and 7.1 was a mix of

Re: [fpc-pascal]FP newbie

2003-11-13 Thread vkrish
> Marco, > > Let me see if I understand your concern... > > >>wxWindows is a good library/framework indeed. But why do we need a > >>pascal interface to it ? It adds too many layers to the whole system. > >>eg: to create a button => pascal-layer->wxWindows->gtk+/motif/win32->window system >

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Demian Lessa
Marco, I'm not debating whether a feature should or should not be considered for inclusion in FP. It just occurred to me that class attributes are constructs that have *real* use beside just stylish correctness. Class methods have been implemented, right? Aren't them just as equivalent to glob

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Michael A. Hess
Mattias Gaertner wrote: > AFAIK the main reason, why the gtk interface for the LCL was started, was simply, that the devels had experience with gtk, but no one had experience with wxWindows. I'm stretching my memory here but as Marco indicated, wxWindows wasn't mature at the time. Also if I remem

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Matt Emson
> Object Pascal in son eclusively Borland Translateion - "Object Pascal is not exclusivly Borland"... um yeah, new keyboard people ;-) > Afaik is Object Pascal an Apple invention, which was submitted as dratf > standard for standarisation Sure, that is why I said they 'originated' the *Delphi*

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Marco van de Voort
> > ok, another feature not found in Object Pascal! > > Be careful here... FPC implements Object Pascal too. Say 'Delphi' if you > mean Delphi. Object Pascal in son eclusively Borland (though they originated > it in it's Delphi instance.) Afaik is Object Pascal an Apple invention, which was submi

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Marco van de Voort
> > same thing more or less. > > > > Both can be solved properly, and personally I find the > > workaround presented in the article uglier than the simple > > variable in the implementation of the unit. > > > > > > I think you missed the point of the article. I had no intention > to list

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Mattias Gaertner
On Thu, 13 Nov 2003 16:01:56 +0100 (W. Europe Standard Time) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Thu, 13 Nov 2003, Marco van de Voort wrote: > > > > On Thu, 13 Nov 2003, Marco van de Voort wrote: > > > > > > The LCL is much more than a widget set. It is the base building > >

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Matt Emson
> ok, another feature not found in Object Pascal! Be careful here... FPC implements Object Pascal too. Say 'Delphi' if you mean Delphi. Object Pascal in son eclusively Borland (though they originated it in it's Delphi instance.) Matt ___ fpc-pascal

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Demian Lessa
> There are some extensions yes, and in the future, foreign > OSes and processors might cause some more extensions. > > However in general we reluclantly add features, usually > because the main argument from most people is "it would > be nice to have ", and there are many more reasons > n

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Peter Vreman
>> As to that, the answer is simple: RTTI for all objects would >> blow up your executable. RTTI information takes up a *lot* of >> space in your executable. It's a burden, and people who don't >> need it should have the chance not to use it. This is impossible >> if you force RTTI in TObject. > >

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Demian Lessa
Michael, > As to that, the answer is simple: RTTI for all objects would > blow up your executable. RTTI information takes up a *lot* of > space in your executable. It's a burden, and people who don't > need it should have the chance not to use it. This is impossible > if you force RTTI in TOb

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Demian Lessa
> RTTI is enabled by a switch {$M+} and it is also inherited > by descendant classes. Just like Object Pascal... > That is already supported by an fpc extension allowing > static members. Just add the static directive after the > field. ok, another feature not found in Object Pascal! Thanks,

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Michael Van Canneyt
On Thu, 13 Nov 2003, Marco van de Voort wrote: > > On Thu, 13 Nov 2003, Marco van de Voort wrote: > > > > The LCL is much more than a widget set. It is the base building block of a > > > RAD system. And also it quite Delphi VCL compatible in spirit (to allow easy > > > porting). > > > > > > More

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Marco van de Voort
> On Thu, 13 Nov 2003, Marco van de Voort wrote: > > The LCL is much more than a widget set. It is the base building block of a > > RAD system. And also it quite Delphi VCL compatible in spirit (to allow easy > > porting). > > > > Moreover wxWindows is relatively recent. It wasn't around in a stab

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Marco van de Voort
> I see that many responses refer to Delphi compatibility. I understand > that the FP compiler has a switch that tells it to compile the pascal > code as Delphi code. In that sense, I'd expect FP to provide a superset > of the Object Pascal dialect. And that is true indeed! There are some exten

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Michael Van Canneyt
On Thu, 13 Nov 2003, Demian Lessa wrote: > Peter, > > Thanks for clearing things a little further! > > I see that many responses refer to Delphi compatibility. I understand > that the FP compiler has a switch that tells it to compile the pascal > code as Delphi code. In that sense, I'd expect FP

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Michael Van Canneyt
On Thu, 13 Nov 2003, Marco van de Voort wrote: > > Marco, > > > > Let me see if I understand your concern... > > Most of the things you replied to aren't my comments, anyway. > > > >>wxWindows is a good library/framework indeed. But why do we need a > > >>pascal interface to it ? It adds too man

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Peter Vreman
> Peter, > > Thanks for clearing things a little further! > > I see that many responses refer to Delphi compatibility. I understand > that the FP compiler has a switch that tells it to compile the pascal > code as Delphi code. In that sense, I'd expect FP to provide a superset > of the Object Pasca

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Marco van de Voort
> Marco, > > Let me see if I understand your concern... Most of the things you replied to aren't my comments, anyway. > >>wxWindows is a good library/framework indeed. But why do we need a > >>pascal interface to it ? It adds too many layers to the whole system. > >>eg: to create a button => p

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Demian Lessa
Peter, Thanks for clearing things a little further! I see that many responses refer to Delphi compatibility. I understand that the FP compiler has a switch that tells it to compile the pascal code as Delphi code. In that sense, I'd expect FP to provide a superset of the Object Pascal dialect.

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Demian Lessa
Marco, Let me see if I understand your concern... wxWindows is a good library/framework indeed. But why do we need a pascal interface to it ? It adds too many layers to the whole system. eg: to create a button => pascal-layer->wxWindows->gtk+/motif/win32->window system window. How does LCL work

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Marco van de Voort
> wxWindows is a good library/framework indeed. But why do we need a pascal interface > to it ? It adds too many layers to the whole system. > eg: to create a button => pascal-layer->wxWindows->gtk+/motif/win32->window system > window. > > Do we really need these layers ? (wrapper wrapping a wr

Re: [fpc-pascal]FP newbie

2003-11-13 Thread Peter Vreman
>>> #2. Does the exception handling architecture provide easy >>> to the call stack and other potentially useful information >>> about the exception? Yes, the frame pointer is passed >>> >>> #3. Is there (planned) support for object serialization? >>> >>> #4. Is there (planned) support for obje

Re: [fpc-pascal]FP newbie

2003-11-12 Thread vkrish
Hi!, > > #D. Is there (planned) support for class templates? Do we really need templates ? IMO, templates and reference based objects dont go too well. > > #E. Is there (planned) support for wxWindows? I think this > is a terrific abstraction layer for GUI. The best is > that it is st

Re: [fpc-pascal]FP newbie

2003-11-12 Thread vkrish
> Hi, > > I'm a FP newbie but a long-time Delphi and Pascal developer. I'm curious > about several things regarding the current state of FP as well as its > future. Since I'm considering the use of FP in classroom for my students > and also for commercial development, I hope some of you coul

Re: [fpc-pascal]FP newbie

2003-11-12 Thread Demian Lessa
Thanks for replying! >> #1. Is there a white paper on the features the FP compiler >> supports and the features it doesn't support when compared >> to the Delphi compiler? I know I can dig this info on the >> manuals but I was hoping to find a feature matrix indicating >> the major diferences

Re: [fpc-pascal]FP newbie

2003-11-12 Thread Marco van de Voort
> I'm a FP newbie but a long-time Delphi and Pascal developer. I'm curious > about several things regarding the current state of FP as well as its > future. Since I'm considering the use of FP in classroom for my students > and also for commercial development, I hope some of you could help me >

[fpc-pascal]FP newbie

2003-11-12 Thread Demian Lessa
Hi, I'm a FP newbie but a long-time Delphi and Pascal developer. I'm curious about several things regarding the current state of FP as well as its future. Since I'm considering the use of FP in classroom for my students and also for commercial development, I hope some of you could help me clea