[fpc-pascal]fpc and familiar linux (ipaq)

2004-02-16 Thread listas
Hi, Read on the web site that fpc 1.9.3 builds itself and runs on the Zaurus. That's nice, I want to experiment wihth it on an iPAQ (which also uses an ARM CPU) and familiar Linux. Have anyone tried? Anything I should know before trying to build fpc myself for the ipaq? The ideal setup for pda dev

[fpc-pascal] Weird DosError values

2004-02-16 Thread Matthews
Hello all. I'm using a function and a procedure, both which deal with finding files in the same directory, and then either counting them, or reading them, but I'm getting some very weird values for DosError. I'm using v1.0.10, and I continue to get a value of 183 from DosError in the function

Re: [fpc-pascal]dbExpress with fpc

2004-02-16 Thread Marco van de Voort
> Marco van de Voort wrote: > > >>http://www.freepascal.org/wiki/wiki.phtml?title=Language_related_articles > >> > >>(Michael, this is for the docs as well and can be removed then from the > >>wiki :) ) > > > > > > Is it global or local? This: > What do you mean with global/local? It can be

Re: [fpc-pascal]dbExpress with fpc

2004-02-16 Thread Florian Klaempfl
Marco van de Voort wrote: Michael Van Canneyt wrote: An interface is a construct independent of COM or CORBA. It's just a set of methods. Delphi does allow you to use COM methods transparantly via interfaces. In principle, the same should be true for FPC. It is true ;). Added a short note to the

Re: [fpc-pascal]dbExpress with fpc

2004-02-16 Thread Marco van de Voort
> Michael Van Canneyt wrote: > > > > > > An interface is a construct independent of COM or CORBA. It's just a set > > of methods. Delphi does allow you to use COM methods transparantly via > > interfaces. In principle, the same should be true for FPC. > > It is true ;). > > Added a short note t

Re: [fpc-pascal]dbExpress with fpc

2004-02-16 Thread Florian Klaempfl
Michael Van Canneyt wrote: FPC supports both COM and CORBA interfaces - right ? I wouldn't have thought so. Delphi does it via compiler magic. I think fpk told me so on #fpc . An interface is a construct independent of COM or CORBA. It's just a set of methods. Delphi does allow you to use COM me

Re: [fpc-pascal]Defining Records on the fly:

2004-02-16 Thread Shawn Tan Ser Ngiap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 16 February 2004 00:40, Jon D. Sawyer wrote: > Const ARec : tMyRec = (X:12; Y:25); > > why can't I do this? > > var > AnotherRec: tMyRec; > begin > AnotherRec := (X:12; Y:25); It's just the way the language is... you could do this... A

[fpc-pascal]Defining Records on the fly:

2004-02-16 Thread Jon D. Sawyer
If I have this type: Type tMyRec = Record X, Y: Integer; End; and can do this: Const ARec : tMyRec = (X:12; Y:25); why can't I do this? var AnotherRec: tMyRec; begin AnotherRec := (X:12; Y:25); end. ** Feel free to smack me around. ___ fpc-pas