Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!UCF1VM.BITNET!ROSS From: ROSS@UCF1VM.BITNET (Bri) Newsgroups: comp.lang.modula2 Subject: FOR loops Message-ID: Date: 3 Jul 90 20:54:15 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List Organization: The Internet Lines: 14 In regards to my FOR loop question, Peter states that such a construct might introduce many difficulties into the loop control code. I can not find any such difficulties. In fact, most other high-level langauges will support such a sequence of statements. The RECORD example that he showed is still not understandable to me. To repose the question I ask instead of a record how about a POINTER TO INTEGER? Again, the same rule applies that such a variable can not be used as an index. To me, there is no difference between p@ and i where p is a POINTER TO INTEGER and i is an INTEGER. Anyone else have any answers as to why Wirth designed such a restriction? Bri