From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dd168cddd95805ff,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-27 05:35:25 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: serbulentcevik@yahoo.com (dumur) Newsgroups: comp.lang.ada Subject: integer input from text file Date: 27 Mar 2003 05:35:25 -0800 Organization: http://groups.google.com/ Message-ID: <363a9d17.0303270535.427f82e@posting.google.com> NNTP-Posting-Host: 193.140.36.102 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1048772125 23557 127.0.0.1 (27 Mar 2003 13:35:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 27 Mar 2003 13:35:25 GMT Xref: archiver1.google.com comp.lang.ada:35758 Date: 2003-03-27T13:35:25+00:00 List-Id: My problem is that I got to read a time string from a text file. It is in the form 12:34:45 Hour:Minute:Second. I want to get each part one by one with Ada.Integer_Text_IO.Get(File=>input_file, Item=> Hour); Skip; -- skips the ":" character Ada.Integer_Text_IO.Get(File=>input_file, Item=> Minute); Skip; Ada.Integer_Text_IO.Get(File=>input_file, Item=> Second); But the colons(:) troubles me here. If I use "," or "." instead of colons it works but there will be colons in the input. What is the problem? Is there any special meaning of colons(:) in Ada? Thanks.