Short strings (Was: Modifying string length?)
Wed, 30 Apr 1997 00:41:07 +0200 (MET DST)
According to The African Chief:
> According to Frank Heckenbach:
> >255 chars max length are sometimes not enough.
> But you can use normal GPC strings for that.
Just my point: For applications where you need looooong strings, GPC's
<=2GB strings with 8 bytes of overhead are perfect. In those cases
where you must save space, 255 characters are fine - and they are
compatible to UCSD and Borland Pascal.
Should it be `ShortString' or `ShortStr'? In analogy to `LongInt'
instead of `LongInteger' I would vote for `ShortStr'; OTOH, Prospero's
Extended Pascal compiler (PEP) has `ShortString' for this ...
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