Re: [fpc-pascal] passing a class parameter as a const

2007-01-12 Thread Michael Van Canneyt
On Fri, 12 Jan 2007, Graeme Geldenhuys wrote: > Hi > > Does passing a class parameter as a const make any difference? > > eg: > > Add(const AObject: TtiObject); > > vs > > Add(AObject: TtiObject); > > > >From what I can see it shouldn't. Most Delphi code and Free Pascal > FCL code

[fpc-pascal] passing a class parameter as a const

2007-01-12 Thread Graeme Geldenhuys
Hi Does passing a class parameter as a const make any difference? eg: Add(const AObject: TtiObject); vs Add(AObject: TtiObject); From what I can see it shouldn't. Most Delphi code and Free Pascal FCL code doesn't use 'const' for class parameters. -- Graeme Geldenhuys There's n

Re: [fpc-pascal] FPC in DOS environment

2007-01-12 Thread Tomas Hajny
Daniel Franzini wrote: > On 1/11/07, Tomas Hajny <[EMAIL PROTECTED]> wrote: . . >> GO32v2 is a protected mode application, indeed - specifically, it's >> using >> DPMI (DOS Protected Mode Interface). No special extender is needed if >> you >> already have DPMI host available (up and running). Som

Re: [fpc-pascal] FP IDE in DOS env

2007-01-12 Thread Tomas Hajny
Daniel Franzini wrote: > I'm trying to write some pascal code on a DOS env (FreeDOS 1.0). Is the > IDE > for this plataform mantained?! The command line compiler does run fine, > but > the IDE shows up and quickly disapears. > > Has anyone suffered this before?!!?? Well, in general there are quite