From: Simon Wright <simon@pushface.org>
Subject: Re: Re : Simple call of Procedure with Ada.float_text_IO.Get
Date: Wed, 04 Nov 2015 10:30:29 +0000
Date: 2015-11-04T10:30:29+00:00 [thread overview]
Message-ID: <lyk2pykqey.fsf@pushface.org> (raw)
In-Reply-To: b1ae4ed0-c79f-4708-80b2-18ae467baee7@googlegroups.com
comicfanzine@gmail.com writes:
>> The first one reads from standard input (the ARM doesn't explicitly say
>> this), and leaves standard input positioned after the last character of
>> the float number read.
>>
>> The second one reads from the string From, and Last contains "the index
>> value such that From(Last) is the last character read" (not sure if
>> that's the last character of the number, or one past it, I'd have to
>> experiment).
>>
>> So which do you want?
> The first one because i don't want procedure get to read a String , i
> only want it to read a numeric_literal(float input) enter by the user
> of the program .
Well then,
F : Float;
begin
Get (Item => F);
next prev parent reply other threads:[~2015-11-04 10:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-02 12:33 Re : Simple call of Procedure with Ada.float_text_IO.Get comicfanzine
2015-11-02 13:03 ` Jacob Sparre Andersen
2015-11-02 14:46 ` comicfanzine
2015-11-02 17:23 ` Jacob Sparre Andersen
2015-11-02 21:51 ` comicfanzine
2015-11-02 23:02 ` AdaMagica
2015-11-03 11:42 ` comicfanzine
2015-11-03 11:52 ` comicfanzine
2015-11-03 18:40 ` comicfanzine
2015-11-03 19:02 ` Jeffrey R. Carter
2015-11-03 20:27 ` Simon Wright
2015-11-03 23:14 ` comicfanzine
2015-11-03 23:36 ` comicfanzine
2015-11-04 10:30 ` Simon Wright [this message]
2015-11-04 12:39 ` comicfanzine
2015-11-04 14:37 ` comicfanzine
2015-11-04 16:06 ` Simon Wright
2015-11-03 6:44 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox