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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6a92bd2482ff337b,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-14 00:39:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.110.100.18!news.mailgate.org!mygate.mailgate.org!194.185.74.204!not-for-mail From: "Sim Con" Newsgroups: comp.lang.ada Subject: Streams and files Date: Mon, 14 Oct 2002 07:39:41 +0000 (UTC) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: NNTP-Posting-Host: 194.185.74.204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.mailgate.org 1034579150 20441 194.185.74.204 (Mon Oct 14 09:39:42 2002) X-Complaints-To: abuse@mailgate.org NNTP-Posting-Date: Mon, 14 Oct 2002 07:39:41 +0000 (UTC) Injector-Info: news.mailgate.org; posting-host=194.185.74.204; posting-account=110780; posting-date=1034579150 User-Agent: Mailgate Web Server X-URL: http://mygate.mailgate.org/mynews/comp/comp.lang.ada/ab0a48546bf57efad56dfd40996aa2ce.110780%40mygate.mailgate.org Xref: archiver1.google.com comp.lang.ada:29759 Date: 2002-10-14T07:39:41+00:00 List-Id: Hello! I'd like to write in a file a record and print that file taking the data's in the record form. I see that these things can be done in ada using streams but i can't find on the net a good source for learn how to use it. One problem i have is this: Ada.Streams.Stream_Io.create(file,out_file,"db.txt"); Stream:=Ada.Streams.Stream_Io.Stream(File); while not Ada.Streams.Stream_Io.end_of_file(file) loop .... i receive a mode_error when it process the while line , any help? Thanx in advance ^_^ -- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG