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
> 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
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
> 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,
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.
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
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
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