Re: Get_Immediate

"Jeffrey R. Carter" <[email protected]>
Newsgroups gmane.comp.lang.ada.france
Message-ID <[email protected]>
Thomas De Contes wrote:
> 
>> De : John B. Matthews
>> I see the same effect. You might look at ARM A.10.7(26) to see if the
>> Available parameter makes any difference.
> 
> et je ne comprends pas la réponse de John
> (J'ai bien lu les paragraphes de
> http://www.adaic.org/standards/05rm/html/RM-A-10-7.html
> qui parlent de Get_Immediate, plus le n° 26)

ARM A.10.7:

11
procedure Get_Immediate(File      : in  File_Type;
                         Item      : out Character;
                         Available : out Boolean);
procedure Get_Immediate(Item      : out Character;
                         Available : out Boolean);
12
If a character, either control or graphic, is available from the specified File 
or the default input file, then the character is read; Available is True and 
Item contains the value of this character. If a character is not available, then 
Available is False and the value of Item is not specified. Mode_Error is 
propagated if the mode of the file is not In_File. End_Error is propagated if at 
the end of the file. The current column, line and page numbers for the file are 
not affected.

Peut etre ces versions n'attend pas Enter.

-- 
Jeff Carter
"When danger reared its ugly head, he bravely
turned his tail and fled."
Monty Python and the Holy Grail
60
_______________________________________________
Site WWW de l'association Ada-France: http://www.ada-france.org/
[email protected]
http://www.ada-france.org/mailman/listinfo/ada-france
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.