Re: [fpc-pascal]Hex chars

2003-09-07 Thread Marco van de Voort
> I am trying to write to a serial LCD device on /dev/ttys0 and I need to pass hex > codes to it. According to the documentation, in C is done like this: > > putch(0xfe); > putch('X'); > > What will be the similar commad in FPC? write(chr($FE),'X'); ___

[fpc-pascal]Hex chars

2003-09-07 Thread Paul Aviles
I am trying to write to a serial LCD device on /dev/ttys0 and I need to pass hex codes to it. According to the documentation, in C is done like this:   putch(0xfe); putch('X');   What will be the similar commad in FPC?   Thanks -pa