Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: dan@maccs.McMaster.ca (Dan Trottier) Newsgroups: comp.sys.sun Subject: Bug in Sun Pascal 1.10 (Sun 4) Message-ID: <1831@sparkles.dcss.mcmaster.ca> Date: 1 Feb 89 07:20:51 GMT Sender: usenet@rice.edu Organization: McMaster University, Hamilton, Ontario Lines: 27 Approved: Sun-Spots@rice.edu Original-Date: Sun, 22 Jan 89 12:36:56 EST X-Sun-Spots-Digest: Volume 7, Issue 131, message 6 of 19 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