Am 14.02.2021 um 19:22 schrieb Ryan Joseph via fpc-pascal:
On Feb 14, 2021, at 11:14 AM, Sven Barth via fpc-pascal
wrote:
It's a runtime conversion, but normally you don't do the conversion for every
method call, but instead cache the interface (or work solely with the
interface), thus the
Am 15.02.2021 um 18:08 schrieb Ryan Joseph via fpc-pascal:
On Feb 15, 2021, at 9:08 AM, Marcos Douglas B. Santos via fpc-pascal
wrote:
As I understand, this is not a method hiding, but just to tell the
compiler which method to implement the interface—the interface could
have method names whi
Am 15.02.2021 um 16:52 schrieb Ryan Joseph via fpc-pascal:
On Feb 14, 2021, at 11:43 PM, Sven Barth via fpc-pascal
wrote:
Same names should be rejected. Providing a new implementation can be controlled
using the interface alias:
=== code begin ===
type
TMyClass = class(TInterfacedObjec
Am 15.02.2021 um 22:54 schrieb Alexander Grotewohl via fpc-pascal:
There's a command line parameter.. try something like
fpc -FU~/.units.lnx yourapp.pp
Just to explain what -FUxxx does: this sets the unit output path. If you
have precompiled units (or source files) in a different location you
There's a command line parameter.. try something like
fpc -FU~/.units.lnx yourapp.pp
Of course you would have to remember to do that for EVERY compile (I set my
text editor to do it) but you could probably add it to your fpc.cfg too.
--
Alexander Grotewohl
https://dcclost.com
_
Today I had to compile a program on my Linux server.
The program was written for windows and needed libraries synapse and
lazutils, and they were missing from the server.
I copied all the needed units from my PC into the linux work directory and
it worked with the usual command
fpc programname.
Op 2021-02-15 om 18:08 schreef Ryan Joseph via fpc-pascal:
As I understand, this is not a method hiding, but just to tell the
compiler which method to implement the interface—the interface could
have method names which are very very common to use and this syntax
allows us to "rename" those met
> On Feb 15, 2021, at 9:08 AM, Marcos Douglas B. Santos via fpc-pascal
> wrote:
>
> As I understand, this is not a method hiding, but just to tell the
> compiler which method to implement the interface—the interface could
> have method names which are very very common to use and this syntax
>
On Mon, Feb 15, 2021 at 12:52 PM Ryan Joseph via fpc-pascal
wrote:
>
> > On Feb 14, 2021, at 11:43 PM, Sven Barth via fpc-pascal
> > wrote:
> >
> > Same names should be rejected. Providing a new implementation can be
> > controlled using the interface alias:
> >
> > === code begin ===
> >
> > t
> On Feb 14, 2021, at 11:43 PM, Sven Barth via fpc-pascal
> wrote:
>
> Same names should be rejected. Providing a new implementation can be
> controlled using the interface alias:
>
> === code begin ===
>
> type
> TMyClass = class(TInterfacedObject, IMyIntf)
> private
> fMyRecord: T
10 matches
Mail list logo