According to Frank Heckenbach:
Is there a way to change a string's length directly?
AFAIK, there isn't. Use the `SubStr' function (like BP's `copy' function) to shorten a string, and the `+' operator to make it longer.
And of course you can take a pointer to the string, cast it to a pointer to a record the fields of which you can manipulate like you wish ...
BTW: Are the TP string routines (e.g. Insert, Delete) already ported to gpc?
The African Chief is working on this. (-: It will probably be released soon.
Greetings,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal [970420] - http://home.pages.de/~gnu-pascal/ [970125]