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,63360011f8addace X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-18 15:57:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep2-win.server.ntli.net.POSTED!53ab2750!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada References: <5ee5b646.0207161329.5c8e387b@posting.google.com> Subject: Re: gnat: time-slicing X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Thu, 18 Jul 2002 23:38:31 +0100 NNTP-Posting-Host: 80.5.140.234 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep2-win.server.ntli.net 1027031946 80.5.140.234 (Thu, 18 Jul 2002 23:39:06 BST) NNTP-Posting-Date: Thu, 18 Jul 2002 23:39:06 BST Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:27238 Date: 2002-07-18T23:38:31+01:00 List-Id: "Jan Prazak" wrote in message news:pan.2002.07.17.20.38.35.826272.1851@gmx.net... > On Wed, 17 Jul 2002 15:44:24 -0100, Pascal Obry wrote: > > > > >> There is no output to a file. > > > > Standard output is a file. > > But Put_Line does not write to standard output, you would have to specify > a file as a parameter. Since you're familiar with Pascal, it is roughly the same as WriteLn and should be *no problem* for you. WriteLn ('some string'); writes to standard output, while WriteLN ('some string', somefile); writes to a file. As in Ada (but perhaps no to the same extent as in Ada), files are logical entities in Pascal, not physical entities. Consider Turbo Pascal where you could send output to a printer by regarding it as a file, though a printer is in reality a physical device. Chris