comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen)
Subject: Re: Reading variable-length records from a file
Date: 10 Aug 2001 14:04:52 -0500
Date: 2001-08-10T14:04:52-05:00	[thread overview]
Message-ID: <lV+nuB2NzV+U@eisner.encompasserve.org> (raw)
In-Reply-To: 9l19l4$45m$1@slb7.atl.mindspring.net

In article <9l19l4$45m$1@slb7.atl.mindspring.net>, "Brian Catlin" <briancatlin@mindspring.com> writes:
> What is the best method for reading variable-length records from a file, using Ada (generic Ada, or GNAT)?  I have some files, from
> a VMS system, that I want to read on a Win2K system.  The files have the VMS standard "implied carriage control", which means that
> each "record" (or line; it's a text file) has a two-byte count value, followed by "count" bytes (characters).

And a fill byte if needed to even the count.



  reply	other threads:[~2001-08-10 19:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-10 18:37 Reading variable-length records from a file Brian Catlin
2001-08-10 19:04 ` Larry Kilgallen [this message]
2001-08-10 21:28 ` Mark Johnson
2001-08-13  8:14 ` Thierry Lelegard
2001-08-13 17:39   ` Brian Catlin
2001-08-13 18:29     ` tmoran
2001-08-13 18:51     ` Larry Kilgallen
  -- strict thread matches above, loose matches on Subject: below --
2001-08-13 21:29 Gautier Write-only-address
2001-08-13 22:41 ` Larry Kilgallen
replies disabled

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