Re: [fpc-pascal]Question about fp

2003-02-25 Thread Brent Cox
- Original Message - From: "Olaf Leidinger" <[EMAIL PROTECTED]> To: "FreePascal Postliste" <[EMAIL PROTECTED]> Sent: Tuesday, February 25, 2003 6:30 PM Subject: Re: [fpc-pascal]Question about fp > Am Die, 2003-02-25 um 15.59 schrieb James Mills: > > On Tue, Feb 25, 2003 at 04:11:25PM +020

[fpc-pascal]compiler 's use

2003-02-25 Thread Εvangelos Kalaitzis
I have downloaded the version 1.0.6 of the free compiler .The problem is that i can't open the compiler.I am afraid further more that i wan't be able to use it at all.So i would like to informe me becides on about how to open it if and were i can find instructions about the use of the compiler(a f

Re: [fpc-pascal]Question about fp

2003-02-25 Thread Olaf Leidinger
Am Die, 2003-02-25 um 15.59 schrieb James Mills: > On Tue, Feb 25, 2003 at 04:11:25PM +0200, Brent Cox wrote: > > I don't know is this is the correct place to ask, if not please direct me to the > > right place. > > > > I am running the fp editor on mandrake 9.0. All my borders are not the normal

[fpc-pascal]Re: [suse-laptop] SuSE 8.0 hat schlechtes GhostScript!

2003-02-25 Thread Rainer Hantsch
Hallo, Boris, und danke für die Info. On Tue, 25 Feb 2003, Boris Segmüller wrote: | Am Montag, 24. Februar 2003 14:46 schrieb Rainer Hantsch: | > Hallo, Leute! | > Ich mußte mein GhostScript auf meinem Server (SuSE 7.0) notgedrungen von | > 5.x auf 6.53 updaten, weil die älteren Versionen keinen

Re: [fpc-pascal]Question about fp

2003-02-25 Thread James Mills
On Tue, Feb 25, 2003 at 04:11:25PM +0200, Brent Cox wrote: > I don't know is this is the correct place to ask, if not please direct me to the > right place. > > I am running the fp editor on mandrake 9.0. All my borders are not the normal lines > but are the extended charactes I.E the a with a d

[fpc-pascal]Question about fp

2003-02-25 Thread Brent Cox
I don't know is this is the correct place to ask, if not please direct me to the right place.   I am running the fp editor on mandrake 9.0. All my borders are not the normal lines but are the extended charactes I.E the a with a dash above and the like. It does not reconize keys F1 threw F4, y

Re: [fpc-pascal]How to obtain runtime type of class object in debugger?

2003-02-25 Thread Michael Van Canneyt
On Tue, 25 Feb 2003, Olle Raab wrote: > Is it possible ? > > In details: > > Suppose: > > program Test; > > type > TClassA = class; > TClassB = class(TClassA); > TClassC = class(TClassA); > > > procedure P( x: TClassA); > > begin > ... > end; > > begin > P(TClassB.Create) > end

Re: [fpc-pascal]How to obtain runtime type of class?

2003-02-25 Thread Jonas Maebe
On dinsdag, feb 25, 2003, at 15:01 Europe/Brussels, Anton Tichawa wrote: What object code is generated for this? I assume that, informally speaking, Ord(TClassB) = Ord(@VMT) and that if x IS TClassB yields somthing like if @(x.VMT) = TClassB? Am I wrong here? Yes, because "is" also returns

Re: [fpc-pascal]How to obtain runtime type of class?

2003-02-25 Thread Anton Tichawa
Hello, Marco! > if x IS TClassB then What object code is generated for this? I assume that, informally speaking, Ord(TClassB) = Ord(@VMT) and that if x IS TClassB yields somthing like if @(x.VMT) = TClassB? Am I wrong here? Thanks, Anton. -- "Adas Methode war, wie sich zeige

Re: [fpc-pascal]How to obtain runtime type of class object in debugger?

2003-02-25 Thread Marco van de Voort
> Is it possible ? > > In details: > > Suppose: > > program Test; > > type > TClassA = class; > TClassB = class(TClassA); > TClassC = class(TClassA); > > > procedure P( x: TClassA); > > begin > ... > end; > > begin > P(TClassB.Create) > end. > > If I watch x inside P in t

Re: [fpc-pascal]How to obtain runtime type of class object in debugger ?

2003-02-25 Thread Anton Tichawa
Hello, Olle! One possibility is: type TClassA = class(TObject); Your classes then inherit all methods of TObject, including TObject.ClassType and TObject.InheritsFrom. So it's possible to write things like: procedure P(x: TClassA); begin if x.ClassType = TClassA then begin bla bla en

[fpc-pascal]How to obtain runtime type of class object in debugger ?

2003-02-25 Thread Olle Raab
Is it possible ? In details: Suppose: program Test; type TClassA = class; TClassB = class(TClassA); TClassC = class(TClassA); procedure P( x: TClassA); begin ... end; begin P(TClassB.Create) end. If I watch x inside P in the IDE, i see it is of type TClassA. But I want