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 - 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. Farpointer is to support mem[] and ptr(seg,offset)^ to access the real mode memory. The type is incompatible with Pointer so you can't accidently use Move() etc. You need the special functions from go32 to access the real mode memory. _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal