🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #4176

Re: "FOR loop" control var. and limit expression types

#4176
From: Randy Bush
Date: Sun, 10 Apr 1988 18:47
16 lines
906 bytes
It would seem that in

	FOR i := j TO k BY l

As j is being assigned to i, they should be assignment compatible.

As k is being compared to i, they should be comparison (eg. expression)
compatible.

As l is being added to i, they should be expression compatible.

Am I missing something here?
-- 
randy@oresoft.uu.net                                          FidoNet:1:105/6.6
randy%oresoft.uu.net@relay.cs.net                             +1 (503) 245-2202
{ ..!mcvax!uunet, ..!textronix, ..!sun!nosun } !oresoft!randy
Technical Details
Message-ID: <132@oresoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!oresoft!randy
References: <INFO-M2%88040714385483@UCF1VM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!oresoft!randy
From: randy@oresoft.UUCP (Randy Bush)
Newsgroups: comp.lang.modula2
Subject: Re: "FOR loop" control var. and limit expression types
Message-ID: <132@oresoft.UUCP>
Date: 10 Apr 88 18:47:31 GMT
References: <INFO-M2%88040714385483@UCF1VM>
Reply-To: randy@oresoft.uu.net
Organization: Oregon Software, Portland OR
Lines: 16