[fpc-pascal] Unicodestrings and Assign(File)

J├╝rgen Hestermann juergen.hestermann at gmx.de
Sat May 19 18:16:59 CEST 2012

Marco van de Voort schrieb:
 > I'm not sure if the *rec records can handle pointers, one probably 
can't use
 > reference types in them, because the standard filedescriptions are
 > threadvars.
 > Think what happens if those are simply "cloned".

Of course, all "cloning" needs to be changed too so that
the name pointer is not cloned (but assigned in a standard way).

The alternative would be to reserve a 64k buffer for the file
name in the *rec structures. I am not sure whether this is
intended and useful. And in 10 or 20 years this limit is breached
again and another change is necessary. Double work IMO.

More information about the fpc-pascal mailing list