Re: [fpc-pascal] Reading and writing char

2011-10-05 Thread David Emerson
On Wed 5 Oct 2011, Thomas Young wrote: > Hi, > > I'm trying to read and write ascii characters using FPC. I had no problems > doing this years ago with Think Pascal & Code Warrior. > > For some reason I'm not able to read and write ascii characters above ascii > 127 with FPC. Can someone explain

Re: [fpc-pascal] freetype unit + unicode

2011-10-05 Thread David Emerson
On Tue 4 Oct 2011, michael.vancann...@wisa.be wrote: > If you need some UTF8 extensions to the freetype unit, feel free to make > some suggestions, and we'll see what we can do. > > When the unit was made, unicode support was a thing of the distant future. > (a future which of course crept up on u

[fpc-pascal] Reading and writing char

2011-10-05 Thread Thomas Young
Hi, I'm trying to read and write ascii characters using FPC. I had no problems doing this years ago with Think Pascal & Code Warrior. For some reason I'm not able to read and write ascii characters above ascii 127 with FPC. Can someone explain this to me? Thanks in advance! Using this code:

[fpc-pascal] Reading and writing char

2011-10-05 Thread Thomas Young
Hi, I'm trying to read and write ascii characters using FPC. I had no problems doing this years ago with Think Pascal & Code Warrior. For some reason I'm not able to read and write ascii characters above ascii 127 with FPC. Can someone explain this to me? Thanks in advance! Using this code:

Re: [fpc-pascal] What about complex numbers?

2011-10-05 Thread Jeppe Græsdal Johansen
Den 06-10-2011 00:30, Carlos Avila skrev: Hello Is complex number arithmetic possible in FPC? Another post recommends use unit so named ucomplex, but i can't find any detailed information of this in the documentation. But, amazingly, i sucessfully probed this small program: PROGRAM DUMMY; U

[fpc-pascal] What about complex numbers?

2011-10-05 Thread Carlos Avila
Hello Is complex number arithmetic possible in FPC? Another post recommends use unit so named ucomplex, but i can't find any detailed information of this in the documentation. But, amazingly, i sucessfully probed this small program: PROGRAM DUMMY; USES UCOMPLEX; VAR x,y, z, w: COMPLEX; BEGIN x

RE : RE : [fpc-pascal] Error when translating a C header

2011-10-05 Thread Ludo Brands
iup_isXkey is a C macro that is translated by h2pas into a function. You can't assign a function to a const. Delete line 248 and insert at line 258 the following ( just after function iup_isXkey(_c : longint) : longint; ) : function isxkey (_c : longint) : longint; Begin Result:=iup_isXkey(_c)