Hello,
I came across a strange thing in gpc. My programs compile well with old versions of gpc, but when someone tried to compile the program with his version, it broke. It made me look very bad. :-(
The function "copy" doesn't seem to accept the result of a function anymore. I consider that as a bug.
--------------------------------------------------------------- program akf1; uses GPC;
function mytext: TString; begin mytext := 'something ...' end;
begin WriteLn(copy(mytext, 1, 9)) end. ---------------------------------------------------------------