Article View: comp.lang.modula2
Article #863Ident vs Designator
From: Bri
Date: Sun, 01 Jul 1990 05:21
Date: Sun, 01 Jul 1990 05:21
22 lines
975 bytes
975 bytes
I would like to know the reasoning behind the requirement of using an Ident instead of a Designator as the index variable in a FOR statement. I do not see why the use of Designators is not allowed. FOR record.integer := 1 TO 10 DO END; (* FOR *) Such a case causes no problems for compilers or loaders and seems quite logical. Anyone have any comments or reasons as to why such a restriction/definition was written into the language? Bri Brian Ross ROSS@UCF1VM.BITNET ROSS@UCFLAN.CC.UCF.EDU
Technical Details
Message-ID:
<INFO-M2%90070101452673@UCF1VM.BITNET>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!UCF1VM.BITNET!ROSSShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!UCF1VM.BITNET!ROSS From: ROSS@UCF1VM.BITNET (Bri) Newsgroups: comp.lang.modula2 Subject: Ident vs Designator Message-ID: <INFO-M2%90070101452673@UCF1VM.BITNET> Date: 1 Jul 90 05:21:22 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@PSUVM.PSU.EDU> Organization: The Internet Lines: 22