Re: [fpc-pascal]RE: GTK accelerator handling

2004-03-24 Thread Marc Santhoff
Am Mi, den 24.03.2004 schrieb Jeff Pohlmeyer um 07:35: > > I tried to use gtk_window_remove_accel_group(...) but it is not > > found by fpc (gtk has it, I've got the name from its docs). > > > Is is possible in a simple way to get the missing procedure working? > > Just add this declaration some

Re: [fpc-pascal]RE: GTK accelerator handling

2004-03-24 Thread Mattias Gaertner
On Tue, 23 Mar 2004 22:35:48 -0800 (PST) Jeff Pohlmeyer <[EMAIL PROTECTED]> wrote: > > I tried to use gtk_window_remove_accel_group(...) but it is not > > found by fpc (gtk has it, I've got the name from its docs). > > > Is is possible in a simple way to get the missing procedure working? > >

RE: Farpointers Was: Re: RE: [fpc-pascal]Problem with CASE statem ent

2004-03-24 Thread Lubomir . Cabla
Many thanks to all for your help. Lubomir/CBL ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Farpointers Was: Re: RE: [fpc-pascal]Problem with CASE statement

2004-03-24 Thread Thomas Schatzl
Hello, > Second - new FPC v1.9.x for statement > > var p:pointer > p:=Ptr(a,b); > > shows error "Incompatible types: got "FarPointer" expected "Pointer"". > > I found i can declare var p:farpointer; > but i did not found any description for this type of pointer > how can i use it. It seems that t

RE: RE: [fpc-pascal]Problem with CASE statement

2004-03-24 Thread Lubomir . Cabla
Many thanks for your explanation. -Original Message- From: Peter Vreman [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 10:23 AM To: [EMAIL PROTECTED] Subject: RE: RE: [fpc-pascal]Problem with CASE statement > Hi, > > yes i know this re-typing word(xxx), it is OK. > > Second -

RE: RE: [fpc-pascal]Problem with CASE statement

2004-03-24 Thread Peter Vreman
> Hi, > > yes i know this re-typing word(xxx), it is OK. > > Second - new FPC v1.9.x for statement > > var p:pointer > p:=Ptr(a,b); > > shows error "Incompatible types: got "FarPointer" expected "Pointer"". > > I found i can declare var p:farpointer; > but i did not found any description for this t

RE: [fpc-pascal]Problem with CASE statement

2004-03-24 Thread Peter Vreman
> Thanks. > > Yes, you're right but i'm using this constants for backward compatibility > with Borland Pascal. > > The problem is in declarations of constant: > > const xxx = $4400; > yyy = $11; > > SizeOf(xxx) = 2 in FPC 1.0.10 > 4 in FPC 1.9.x > SizeOf(yyy) = 1 in FP

RE: RE: [fpc-pascal]Problem with CASE statement

2004-03-24 Thread Lubomir . Cabla
Hi, yes i know this re-typing word(xxx), it is OK. Second - new FPC v1.9.x for statement var p:pointer p:=Ptr(a,b); shows error "Incompatible types: got "FarPointer" expected "Pointer"". I found i can declare var p:farpointer; but i did not found any description for this type of pointer how ca

Re: RE: [fpc-pascal]Problem with CASE statement

2004-03-24 Thread Tomas Hajny
From:[EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: [fpc-pascal]Problem with CASE statement Date sent: Wed, 24 Mar 2004 08:01:04 +0100 > The problem is in declarations of constant: > > const xxx = $4400; > yyy = $11; > > SizeOf(xxx) = 2 in FPC 1.0.10 > 4 in FPC 1.9.x