comp.lang.ada
 help / color / mirror / Atom feed
From: "Brian Catlin" <briancatlin@mindspring.com>
Subject: Reading variable-length records from a file
Date: Fri, 10 Aug 2001 11:37:23 -0700
Date: 2001-08-10T18:37:24+00:00	[thread overview]
Message-ID: <9l19l4$45m$1@slb7.atl.mindspring.net> (raw)

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).

 -Brian






             reply	other threads:[~2001-08-10 18:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-10 18:37 Brian Catlin [this message]
2001-08-10 19:04 ` Reading variable-length records from a file Larry Kilgallen
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