Thread View: pl.comp.lang.pascal
2 messages
2 total messages
Started by webmajsterek@poc
Wed, 23 Mar 2011 09:41
Przeciazanie jak w delphi
Author: webmajsterek@poc
Date: Wed, 23 Mar 2011 09:41
Date: Wed, 23 Mar 2011 09:41
17 lines
337 bytes
337 bytes
w�a�nie odkry�em ze fpc 2.5.1 ma mo�liwo�c przeci��ania jak w delpi operator�w dla rekord�w . {$Mode Delphi} type R = record F: Integer; class operator Implicit(const v: integer): R; class Operator Explicit(const v: R ): integer; end; -- Wys�ano z serwisu OnetNiusy: http://niusy.onet.pl
Re: Przeciazanie jak w delphi
Author: "Wiktor S."
Date: Thu, 24 Mar 2011 23:34
Date: Thu, 24 Mar 2011 23:34
21 lines
474 bytes
474 bytes
> w�a�nie odkry�em ze fpc 2.5.1 ma mo�liwo�c przeci��ania jak w delpi > operator�w dla rekord�w . > > {$Mode Delphi} > > type > R = record > F: Integer; > class operator Implicit(const v: integer): R; > class Operator Explicit(const v: R ): integer; > end; szkoda �e tw�rcy Delphi kompletnie ignoruj� Free Pascala, za ka�dym razem wymy�laj�c w�asn� sk�adni�, nawet jesli w FPC co� by�o wcze�niej. -- Azarien
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads