Modifying string length?_(re)
Sun, 27 Apr 1997 20:06:34 +0200 (MET DST)
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]
Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es