Hi,
On 2012/08/31, at 2:51, Jürgen Hestermann wrote:
> Am 2012-08-30 18:29, schrieb Ralf A. Quint:
> > Pascal has evolved since Wirth's original design back in the 70s
>
> This is true. But there are two aspects of the Pascal extensions of the last
> years (decades) that contradict with what I
Hi,
...
> -
> This is funny to remember today. ;-)
> When i run BP 7 on 80286 computers, and then compared with size and speed of
> TP 5.5 - i was sure as hell that OOP is for lazy programmers, who cannot
> make code fast and small.
> And i remember comparing speed of Virtual Pascal and con
2011/10/22 Gregory M. Turner
>
> Taking these terms in the broadest sense possible, wouldn't we say that OOP
> is mostly a functional development paradigm?
>
> Not a rhetorical question, I seriously am not sure.
>
> OP's somewhat idiosyncratic requirement to put all the OOP metadata in a
> separat
- Original Message -
> 18.10.2011 0:53, Andrew Pennebaker пишет:
> > Does Free Pascal have anonymous functions that you can pass around,
> > e.g.
> > to a sort(compare : function, arr : array) function?
> >
>
> anonymous functions = closures = lambdas are part of functional
> paradigm. obje
18.10.2011 0:53, Andrew Pennebaker пишет:
Does Free Pascal have anonymous functions that you can pass around, e.g.
to a sort(compare : function, arr : array) function?
anonymous functions = closures = lambdas are part of functional
paradigm. object pascal itself is not functional language.
Bu
19.10.2011 12:16, Sven Barth пишет:
E.g.
TIntegerFunc = reference to function: Integer;
procedure SomeOtherProc(aFunc: TIntegerFunc);
...
procedure Foo;
var
x: Integer;
begin
x := 42;
SomeOtherProc(function: Integer; begin Result := x; end;);
end;
I haven't tested that, but from the descript
Am 17.10.2011 22:53, schrieb Andrew Pennebaker:
Does Free Pascal have anonymous functions that you can pass around, e.g.
to a sort(compare : function, arr : array) function?
If not, does anyone know any hacks to accomplish this?
No, FPC does not support this currently and I know no one who pla
Does Free Pascal have anonymous functions that you can pass around, e.g. to
a sort(compare : function, arr : array) function?
If not, does anyone know any hacks to accomplish this?
Cheers,
Andrew Pennebaker
www.yellosoft.us
___
fpc-pascal maillist -