CStrings
Sun, 27 Apr 1997 17:34:47 +0200 (MET DST)
Hello,
I encountered some problems with Procedures accepting `CString'
parameters. When passing a string constant to such a parameter, GPC
does *not* automatically add a "chr ( 0 )" terminator.
Should it do? And if so, in which cases? We always can explicitly write
"foo ( 'bar'#0 );" instead of just "foo ( 'bar' );", so I tend to let
things like they are ...
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