Article View: comp.lang.modula2
Article #4646Re: Survey: Changing the Control Variable in a FOR
From: Troy Zerr
Date: Mon, 13 Feb 1989 21:32
Date: Mon, 13 Feb 1989 21:32
21 lines
1358 bytes
1358 bytes
In article <7257@june.cs.washington.edu> pattis@june.cs.washington.edu (Rich
Pattis) writes:
>Does your M-2 compiler allow the following code fragment?
> FOR I:=1 TO 10 DO
> I:= 1
> END
JPI Modula-2 for the IBM compiles it without complaint.
The loop does not terminate when executed.
-------------------------------------------------
A question for other JPI users:
Does your GRAPH.MOD library module work correctly on a Hercules graphics
card? I have a Zenith 449 EGA video card which claims to emulate a Herc.
When I tried to modify an EGA program to use Hercules mode, I got garbage
on the screen. Is this a fault in my program (I don't think so),
a fault in Zenith's emulation, or a fault in the library module?
I have version 1.5, s/n 5003.
Thanks.
Troy Zerr
Technical Details
Message-ID:
<1823@tank.uchicago.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!zem!troyReferences:
<7257@june.cs.washington.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!zem!troy From: troy@zem.uchicago.edu (Troy Zerr) Newsgroups: comp.lang.modula2 Subject: Re: Survey: Changing the Control Variable in a FOR Summary: JPI modula-2 compiles the code fragment without complaint Keywords: JPI, Modula-2, Hercules Message-ID: <1823@tank.uchicago.edu> Date: 13 Feb 89 21:32:15 GMT References: <7257@june.cs.washington.edu> Sender: news@tank.uchicago.edu Reply-To: troy@zaphod.uchicago.edu(Troy Zerr) Organization: U. Chicago Mathematics Dept. Lines: 21