On Mon, 7 Nov 2011, Jonas Maebe wrote:


On 07 Nov 2011, at 09:21, [email protected] wrote:

I have been looking at the JVM backend, and noticed that file I/O is not
working. I'm asking what is needed to get write(ln) or read(ln) working.

Mainly adapting rtl/inc/text.inc and rtl/inc/textrec.inc. I haven't looked yet in detail at whether the original code can be easily/cleanly made compatible with the JVM backend or whether a separate implementation would be better.

TextRec uses THandle for everything, I assume it can be used to store a pointer to an object (or whatever Java uses for files), since in Java everything is
an object anyway ?

Michae.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to