comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: How to put Floats in an Output File?
Date: Fri, 9 Jan 2009 13:28:15 -0800 (PST)
Date: 2009-01-09T13:28:15-08:00	[thread overview]
Message-ID: <93480726-8d5e-45a6-a924-a831fe19ef00@g39g2000pri.googlegroups.com> (raw)
In-Reply-To: e4441a73-0a37-49e5-b54b-b6d43dad4c87@a29g2000pra.googlegroups.com

On Jan 9, 1:14 pm, tolkamp <f.tolk...@chello.nl> wrote:
> I try to put float values into a file using the following code:
>
> package Float_Io is new Text_Io.Float_Io (Float);
>
> Outp_File  : File_Type;
> Value : Float;
> Create (Outp_File, Out_File, Outp_Filename);
> Put (Outp_File, Float_Io.Put (Value));
>
> Compilation results in the following error message:
>
> no candidate interpretations match the actuals:
> missing argument for parameter "Item" in call to Put
> context requires function call, found procedure name


Float_IO.Put is a procedure, not a function.

                     -- Adam



  reply	other threads:[~2009-01-09 21:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09 21:14 How to put Floats in an Output File? tolkamp
2009-01-09 21:28 ` Adam Beneschan [this message]
2009-01-09 21:47 ` Robert A Duff
2009-01-10  1:06 ` anon
2009-01-10 11:15   ` tolkamp
replies disabled

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