From: "chris.danx" <chris.danx@ntlworld.com>
Subject: Re: How would i keep 'records' in ADA ?
Date: Sat, 9 Mar 2002 23:29:05 -0000
Date: 2002-03-09T23:29:05+00:00 [thread overview]
Message-ID: <XTwi8.7961$xO2.562660@news11-gui.server.ntli.net> (raw)
In-Reply-To: ab6237e2.0203091435.44234ae4@posting.google.com
"Jim" <genx54321@hotmail.com> wrote in message
news:ab6237e2.0203091435.44234ae4@posting.google.com...
> i dont mean records as part of the programming in ADA but if i wanted
> to keep details of a person eg name, address, post code etc for a
> program, how would i do it ?
I'm not sure I understand what you mean exactly but if you mean where can I
store info for an Ada program, then in a file. You can have a text file and
a binary file. If you use a text file, you use text_io and friends to get
and remove the info. For binary files you get more of a choice.
- Direct_IO
- Sequential_IO
- Streams
All allow you to write/read records to/from a binary file. Streams (on
files) are better when you want records of different types in a file, the
others have pros & cons and it's really dependant on what you need them for.
next prev parent reply other threads:[~2002-03-09 23:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-09 22:35 How would i keep 'records' in ADA ? Jim
2002-03-09 23:29 ` chris.danx [this message]
2002-03-09 23:32 ` chris.danx
2002-03-10 0:33 ` Jim
2002-03-10 2:00 ` tmoran
2002-03-10 6:51 ` Jeffrey Carter
2002-03-10 12:14 ` rmoldskr
2002-03-11 15:33 ` Marin David Condic
2002-03-10 12:45 ` chris.danx
2002-03-11 15:39 ` Marin David Condic
2002-03-10 12:03 ` David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox