🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #4675

Re: Control Variables in FOR LOoops

#4675
From: Richard Pattis
Date: Mon, 27 Feb 1989 15:21
11 lines
879 bytes
Oregon Software's Modula-2 compilers (Suns, VMS, 68K machines) all flag at
compile time code that tries to change the control variable, pass it as a
VAR parameter, etc.

The correspondent indicated that any compiler that didn't perform these
checks was not really Modula-2.  Is there really a M-2 standard that
compilers must meet (which of Wirth's books does it conform to - the 4th
edition of "the" M-2 book just came out, with a few more changes to the
language)?

Rich Pattis
Technical Details
Message-ID: <7409@june.cs.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!uw-june!pattis

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!uw-june!pattis
From: pattis@june.cs.washington.edu (Richard Pattis)
Newsgroups: comp.lang.modula2
Subject: Re: Control Variables in FOR LOoops
Summary: Another data point
Message-ID: <7409@june.cs.washington.edu>
Date: 27 Feb 89 15:21:43 GMT
Organization: U of Washington, Computer Science, Seattle
Lines: 11