I hope this is the right place to come for this sort of advice - if not, please point me in a better direction . . . . .
I am trying to convert my Turbo Pascal code to allow compilation using GNU Pascal. I have hit a problem with the 'Append' procedure, which does not seem to be supported in gpc. How should I go about adding lines to the end of existing text files? I have replaced 'Assign' with the appropriate procedure outlined on the GNU Pascal web pages - is there a similar 'fix' for 'Append'??
With thanks, Colin
~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~ Colin Osborne Dept. of Animal and Plant Sciences University of Sheffield Sheffield S10 2TN Tel: 0114 222 0086 Fax: 0114 222 0002 ~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~
C.P.Osborne wrote:
I hope this is the right place to come for this sort of advice -
It is.
I am trying to convert my Turbo Pascal code to allow compilation using GNU Pascal. I have hit a problem with the 'Append' procedure, which does not seem to be supported in gpc.
It is supported in recent versions of GPC. Please try gpc-19990118 from ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/ which is BTW more stable than gpc-2.0 you are probably referring to.
How should I go about adding lines to the end of existing text files? I have replaced 'Assign' with the appropriate procedure outlined on the GNU Pascal web pages - is there a similar 'fix' for 'Append'??
Extend.
Hope this helps,
Peter