[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MJackson.Wbst: Why Your Pascal and Modula-2 Programs Don't Work]



The classic fencepost bug?

     ----- Begin Forwarded Messages -----

Date: Tue, 11 Sep 84 11:02 EDT
From: MJackson.Wbst
Subject: Why Your Pascal and Modula-2 Programs Don't Work
To: AllWhimsy^.ES
cc: Modula-2^.ES, ProcessTechnology^
Reply-To: MJackson.Wbst

"In an array, individual elements are readily identified by means of a
computed index, which represents a position in the sequence of elements.
The address of the fifth element, for example, is simply the address of
the first element plus five times the size of an element."

--	Niklaus Wirth in the September /Scientific American/


     ----- End Forwarded Messages -----