[fpc-pascal] Custom file drivers
Marco van de Voort
marcov at stack.nl
Sun Sep 30 13:53:23 CEST 2018
In our previous episode, Anton Shepelev said:
> The documentation on the FILE and TEXT types says
> that "nothing prevents the programmer, from writing
> a file driver that stores its data for instance in
> memory." Is there a more detailed instruction or an
> example illustrating how to do it?
Have a look at unit streamio in package fcl-base (packages/fcl-base/src)
which redirects a textfile to a stream.
More information about the fpc-pascal
mailing list