From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7cb9a3b53a2ac8f9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-08 08:40:31 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!cyclone.bc.net!sjcppf01.usenetserver.com!usenetserver.com!news-west.rr.com!lsnws01.we.mediaone.net!typhoon.san.rr.com!not-for-mail Message-ID: <3BEAB585.9972131F@san.rr.com> From: Darren New Organization: Boxes! X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Clear screen References: <8BXF7.184242$5A3.69438929@news1.rdc2.pa.home.com> <3BE966CE.8D3628C1@san.rr.com> <3BE9A822.795CBDC3@san.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 08 Nov 2001 16:40:55 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: typhoon.san.rr.com 1005237655 66.75.151.160 (Thu, 08 Nov 2001 08:40:55 PST) NNTP-Posting-Date: Thu, 08 Nov 2001 08:40:55 PST Xref: archiver1.google.com comp.lang.ada:16069 Date: 2001-11-08T16:40:55+00:00 List-Id: Preben Randhol wrote: > > On Wed, 07 Nov 2001 21:31:31 GMT, Darren New wrote: > > Larry Kilgallen wrote: > >> > for I in 1 .. 500 loop Put_Line end; > >> ^^^ > >> end loop > > > > Yes, and I missed the semicolon after Put_Line too. :-) > > Which shows that writing it in one line is not a good idea. No, it just shows that I've only been writing Ada programs for a couple weeks, and I keep switching between languages, and I should probably try compiling even one-liners before I shoot them off. On the other hand, if the OP can't figure out from the error message that there's a semicolon missing, they shouldn't be programming at all. ;-) Is the "end loop" really required? I thought "end" was OK anywhere except at the end of a subprogram or package, yes? -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. You will soon read a generic fortune cookie.