dan@maccs.McMaster.ca (Dan Trottier) (02/01/89)
Well it's been 4 months since I reported a bug in the Sun Pascal 1.10
distribution and I haven't had a reply yet. Perhaps this will illicit a
response.
PROBLEM:
If you try to declare a variable as a VARYING string of size 1 the
compiler craps out with an internal error.
Likewise if you declare a variable as VARYING string of size > 1 and
then try to test against a string containing a single character the
compiler craps out.
Ex: name : varying [1..8] of char ;
if name = 'a' then begin ... end
else ...
What I need to know is if this behaviour is normal and if not when will
Sun be sending me a BUG fix for this problem. Personnaly I don't care for
vendor added features (like varying) but if they are going to put
extensions in a language they better make sure they behave properly!
--
Dan Trottier dan@maccs.McMaster.CA
Dept of Computer Science ...!uunet!utai!utgpu!maccs!dan
McMaster University (416) 525-9140 x3444