* VAX Extended Character Set
@ 1991-05-08 14:18 Ray Diederich (301)-294-8400
1991-05-10 22:59 ` Bud Bach
0 siblings, 1 reply; 2+ messages in thread
From: Ray Diederich (301)-294-8400 @ 1991-05-08 14:18 UTC (permalink / raw)
Is there anyone out there who knows how to read text files containing
eight-bit characters using VAX Ada? I have used UNCHECKED_CONVERSION and
TEXT_IO to write eight-bit characters into text files, but attempts to read
any files with eight-bit characters causes a DATA_ERROR exception.
I've come across this problem several times over the past few years, and it
sure would be nice if I knew a solution.
Please send your responses to "diederich_r_%ncsd.dnet@gte.com"
Thanks in advance!
Ray Diederich
Member, Technical Staff II
GTE Government Systems Corporation
National Center Systems Organization
1700 Research Blvd.
Rockville, MD
(301)-294-8400
========================================
There have been no opinions expressed here.
========================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: VAX Extended Character Set
1991-05-08 14:18 VAX Extended Character Set Ray Diederich (301)-294-8400
@ 1991-05-10 22:59 ` Bud Bach
0 siblings, 0 replies; 2+ messages in thread
From: Bud Bach @ 1991-05-10 22:59 UTC (permalink / raw)
diederich_r_%ncsd.dnet@GTE.COM (Ray Diederich (301)-294-8400) writes:
>Is there anyone out there who knows how to read text files containing
>eight-bit characters using VAX Ada? I have used UNCHECKED_CONVERSION and
>TEXT_IO to write eight-bit characters into text files, but attempts to read
>any files with eight-bit characters causes a DATA_ERROR exception.
Well, to do this within the language, you'd have to define a 8 bit
character type and use sequential_io on it. I doubt that this is
the answer you wanted to hear though... -- Bud
--
Bud Bach - Consultant c/o Motorola
708 632-6611 Cellular Infrastructure Group
...!uunet!motcid!bachww or 1501 W. Shure Drive
bachww%motcid@uunet.uu.net Arlington Heights, IL 60004
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1991-05-10 22:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1991-05-08 14:18 VAX Extended Character Set Ray Diederich (301)-294-8400
1991-05-10 22:59 ` Bud Bach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox