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-Thread: 103376,c2cd81e4fa47ca1a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: New_Page References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <4I52h.1046417$084.952815@attbi_s22> NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1162405760 12.201.97.213 (Wed, 01 Nov 2006 18:29:20 GMT) NNTP-Posting-Date: Wed, 01 Nov 2006 18:29:20 GMT Date: Wed, 01 Nov 2006 18:29:20 GMT Xref: g2news2.google.com comp.lang.ada:7326 Date: 2006-11-01T18:29:20+00:00 List-Id: Tapio Marjom�ki wrote: > > could somebody tell why the procedure below does not run as expected? Probably because you have unreasonable expectations. Since we don't know what your expectations are, we can't be more specific. It would also help if we knew what compiler you were using. New_Page typically puts one or more control characters ("format effectors") into the specified file (with no explicit file, this is Current_Output; if not explicitly set, Current_Output is Standard_Output). What those characters are is up to the compiler writer. What those characters do when sent to various output devices is up to the creators of those output devices. It is likely that the new-page character(s) output by your compiler are those that cause a new page on some device other than a Windows console, and are not those needed by a Windows console. In short, New_Page is device-specific, should probably not have been included in Text_IO, and should be avoided in portable SW. -- Jeff Carter "My mind is a raging torrent, flooded with rivulets of thought, cascading into a waterfall of creative alternatives." Blazing Saddles 89