comp.lang.ada
 help / color / mirror / Atom feed
From: "Sim Con" <sicon@hotmail.com>
Subject: Streams and files
Date: Mon, 14 Oct 2002 07:39:41 +0000 (UTC)
Date: 2002-10-14T07:39:41+00:00	[thread overview]
Message-ID: <ab0a48546bf57efad56dfd40996aa2ce.110780@mygate.mailgate.org> (raw)

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



             reply	other threads:[~2002-10-14  7:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-14  7:39 Sim Con [this message]
2002-10-14  8:34 ` Streams and files Sim Con
2002-10-15  2:02   ` Eric G. Miller
  -- strict thread matches above, loose matches on Subject: below --
2002-10-14  8:30 Grein, Christoph
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox