Geoffrey Arnold wrote:
Is there and append() or similar procedure that allows me to write directly to the end of text files? If you have any information, please contact me directly by email.
It's called Extend. The only difference to BP's Apped (AFAIK) is that Extend creates the file if it doesn't exist.
Is there an exec() or similar procedure supported by GPC that allows the execution of external programs?
Not built-in, but if you're using GPC on a Dos platform, you might want to get the BPCompat package from
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/contrib/
whose Dos unit contains an Exec procedure.
Otherwise you can simply call the system() function. The declaration is:
function System (CmdLine: CString): Integer; C;
(CString is the same as PChar in BP, and newer versions of GPC understand both CString and PChar.)