🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #4184

Re: types of the limit expressions of FOR statements

#4184
From: Jeff Woolsey
Date: Fri, 15 Apr 1988 16:53
15 lines
762 bytes
While we're on the subject of FOR statements and limits, fill in the
blank below with something that will make the loop execute 26 times.

MODULE Poser;

FROM somewhere IMPORT something;

VAR 
  ch: CHAR;

BEGIN
  FOR ch := 'Z' TO 'A' BY _____ DO
    something(ch)
  END
END Poser.
Technical Details
Message-ID: <5035@nsc.nsc.com>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!hplabs!nsc!woolsey
References: <INFO-M2%88041418081804@DB0TUI11>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!hplabs!nsc!woolsey
From: woolsey@nsc.nsc.com (Jeff Woolsey)
Newsgroups: comp.lang.modula2
Subject: Re: types of the limit expressions of FOR statements
Message-ID: <5035@nsc.nsc.com>
Date: 15 Apr 88 16:53:17 GMT
References: <INFO-M2%88041418081804@DB0TUI11>
Reply-To: woolsey@nsc.UUCP (Jeff Woolsey)
Organization: National Semiconductor, Sunnyvale
Lines: 15