From: r_srinivasan@my-deja.com
Subject: Re: limited private types
Date: 2000/04/27
Date: 2000-04-27T00:00:00+00:00 [thread overview]
Message-ID: <8eaa26$rj2$1@nnrp1.deja.com> (raw)
In-Reply-To: un1mfl8cp.fsf@infomatch.com
The "access" technique does not work because text_io.close takes an "in
out" parameter and gnat complains that the "access".all is not
a "variable".
In article <un1mfl8cp.fsf@infomatch.com>,
Ray Blaak <blaak@infomatch.com> wrote:
> r_srinivasan@my-deja.com writes:
> > Currently I am using text_io package. Unfortunately the type
> > text_io.file_type is a "limited private" type and this means no
> > assignments. I have been able to get around this somewhat by using
> > File_access type but there is no "close" procedure that will take a
> > file_access.
>
> Assuming:
>
> type File_Access is access Text_IO.File_Type;
> f_ptr : File_Access;
>
> then why can't you do Text_IO.Close(f_ptr.all)?
>
> --
> Cheers, The Rhythm is around
me,
> The Rhythm has control.
> Ray Blaak The Rhythm is inside
me,
> blaak@infomatch.com The Rhythm has my soul.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
next prev parent reply other threads:[~2000-04-27 0:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-26 0:00 limited private types r_srinivasan
2000-04-26 0:00 ` Marin D. Condic
2000-04-27 0:00 ` r_srinivasan
2000-04-28 0:00 ` Jean-Pierre Rosen
2000-04-27 0:00 ` Marc A. Criley
2000-04-27 0:00 ` Ray Blaak
2000-04-27 0:00 ` r_srinivasan [this message]
2000-04-27 0:00 ` tmoran
-- strict thread matches above, loose matches on Subject: below --
1988-12-03 23:10 Erland Sommarskog
1988-11-15 23:28 Ada language revision Wilmer Rivers
1988-11-16 19:06 ` William Thomas Wolfe,2847,
1988-11-18 0:32 ` Ron Guilmette
1988-11-22 14:37 ` Stephe Leake
1988-11-23 13:37 ` Dennis Doubleday
1988-11-29 15:12 ` limited private types Stephe Leake
1988-12-01 23:06 ` Ron Guilmette
1988-12-05 1:48 ` Paul Stachour
1988-12-06 16:56 ` ryer
1988-12-06 20:09 ` stt
1988-12-07 15:51 ` Stephe Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox