Bug In Pascal Compiler

Info-Mac discussion from 1984 - 2002.
Locked
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
Bug In Pascal Compiler

Post by Info-Mac » August 28th, 1984, 8:06 am

Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 UW 5/3/83; site uw-beaver
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!info-mac
From: info-mac@uw-beaver (info-mac)
Newsgroups: fa.info-mac
Subject: Bug In Pascal Compiler
Message-ID:
Date: Thu, 26-Jul-84 17:01:55 EDT
Article-I.D.: uw-beaver>.1338
Posted: Thu Jul 26 17:01:55 1984
Date-Received: Fri, 27-Jul-84 07:32:18 EDT
Sender: daemon@uw-beave
Organization: U of Washington Computer Science
Lines: 18

From: Robert.White@CMU-CS-GANDALF
After two very frustrating weeks I have found that my problem is really
Apple's and I wish to warn you about it. Situation is as follows:

I was defining a number of windows and set up my own storage for
them in an array whose indices where also the resource number. The array
indices ranged from 256 to 261. I used GetNewWindow. After Initializing
each window I had the program spit out the specifics of the window...they
were never what I had put into the resource file. Then I would get a fatal
system error ID=2. As it turns out the problem is in how the compiler
handles offsets for arrays. My only modification was to change the indeces
to 1 to 6 and everything works fine!

Beware the user of a Lisa that is developing for the Mac.
Robert White
Tech Rep for CMU to the AUC

rjw@cmu-cs-gandalf
Locked