[fpc-pascal] Access to RS232 ports with fpc
Holger Bruns
holger.bruns at gmx.net
Tue Nov 3 02:33:29 CET 2009
Brad Campbell schrieb:
>
> Why not try attaching your test code that is failing so we can help
> you get it working?
Done. My fault was the following declaration:
var inbuffer: array of char;
This is a better declaration:
var inbuffer: array[0..10] of char;
Now I got my code working. Hidden pointers are new to me. Therefore I
felt in trouble with it. Secondly, it appears to be necessary to use the
fpc compiler as "root", not simply as a user, I guess.
Best regards, Holger
More information about the fpc-pascal
mailing list