=?iso-8859-1?q?Preben=20Mikael=20Bohn?= wrote:
In Delphi they use AssignFile instead of Assign. I have defined a unit rtlib, where all Delphi-specific procedures are defined.
Be welcome to contribute it (though some of them are already included with GPC, e.g. AssignFile is in the GPC unit, though with the same limitation you describe).
Well, right now it's only very few functions. I have some other functions, though, defined in some other units (e.g. IntToStr, etc), that I would be happy to contribute (I hope/guess Borland don't mind me using the same name and same functionality as their functions?).
For now I think I'll just search/replace AssignFile with Assign...
Best regards
Preben Bohn
PS. Where should I send my units? And are they at all needed?
You might want to get in touch with The Chief who knows more about Delphi, has written some routines himself, and knows what's there and what's missing.
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html