Re: [fpc-pascal] Internal error 200203271

2006-07-14 Thread Marco van de Voort
> Marco van de Voort wrote: > > units\arm-linux\libpgdk2.a > > units\arm-linux\gdk2.sl > > gtkspinbutton.inc(267,4) Fatal: Internal error 200203271 > > $004DF30F SECONDPASS, line 175 of pass_2.pas > > $0049DA27 DO_GENERATE_CODE, line 1274 of psub.pas > > $0049DFD9 READ_DECLARATIONS, lin

[fpc-pascal] fpcUnit testing Exceptions

2006-07-14 Thread Graeme Geldenhuys
Hi, Is it possible to test the code below using the AssertException() call? I am sure it must be, I am just not sure how to use it. This is the work-around I have now, untill I can figure out how to use AssertException() correctly. try si.SetSlideName('006~sa.swf');

Re: [fpc-pascal] fpcUnit testing Exceptions

2006-07-14 Thread dhkblaszyk
Graeme, I would try and test this: AssertException('Failing on 3', EUnknownSlideType, TRunMethod(@si.SlideTypeDB)); Haven't been able to test though, but it's what comes to mind. Perhaps it helps. Darius > Hi, > > Is it possible to test the code below using the AssertException() > call? I am

[fpc-pascal] Porting DOS Program

2006-07-14 Thread Rainer Stratmann
Hi, is it possible in X (Linux) to "lock the screen" and then to put the screen in a fullscreenmode (800 x 600 x 32Bit) and then have access to the framebuffer memory like in DOS? Rainer ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Porting DOS Program

2006-07-14 Thread Michael Van Canneyt
On Fri, 14 Jul 2006, Rainer Stratmann wrote: Hi, is it possible in X (Linux) to "lock the screen" and then to put the screen in a fullscreenmode (800 x 600 x 32Bit) and then have access to the framebuffer memory like in DOS? Not like that. You should use a DRI (Direct Rendering Interface) i

Re: [fpc-pascal] fpcUnit testing Exceptions

2006-07-14 Thread Graeme Geldenhuys
I would try and test this: AssertException('Failing on 3', EUnknownSlideType, TRunMethod(@si.SlideTypeDB)); It gives a "Variable identifier expected" just before the dot. I even tried putting the si.SlideTypeDB inside a Local Procedure and passing @ but that also didn't work. :-( Example pr

Re: [fpc-pascal] fpcUnit testing Exceptions

2006-07-14 Thread Dean Zobec
Graeme Geldenhuys wrote: > Hi, > > Is it possible to test the code below using the AssertException() > call? I am sure it must be, I am just not sure how to use it. > > This is the work-around I have now, untill I can figure out how to use > AssertException() correctly. > ---

Re: [fpc-pascal] Using the interrupt keyword in FPC for DOS

2006-07-14 Thread Tomas Hajny
On 13 Jul 06, at 23:48, Andreas Berger wrote: > FPC has the interrupt keyword on GO32V2. Is this the same as that > used in TP/BP? Yes, it should be. > There I could declare an interrupt function like: > procedure ISR(Flags, CS, IP, AX, BX, CX, DX,| SI, DI, DS, ES, BP : > WORD); interrupt; >