Porting to gpc
Jason_Moore at gilbarco.com
Wed Jan 5 20:59:37 CET 2000
I am a novice gpc user trying to port some code from an old Unix compiler to
gpc. We have the following scattered throughout the code. Most of this
code was written before I got here, so I take no credit.
PString = STRING;
pPString = ^PString;
PPtr : pPString;
PPtr^ := '';
PPtr^ := CHR(I);
gpc is complaining about the PPtr^ line. If I change it to say "PPtr^ :=
CHR(I);" the compiler is happy, but we use this method several times to get
the length of arrays or strings. Is there anyway to get gpc to allow this
or does it violate the Pascal standard?
More information about the Gpc