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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,36baec4d89e4ceb7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-13 01:46:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fr.clara.net!heighliner.fr.clara.net!freenix!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: parse word from a string Date: 13 Nov 2002 10:46:21 +0100 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: NNTP-Posting-Host: avelizy-103-1-5-209.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: wanadoo.fr 1037180793 13596 80.13.115.209 (13 Nov 2002 09:46:33 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 13 Nov 2002 09:46:33 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92 Xref: archiver1.google.com comp.lang.ada:30796 Date: 2002-11-13T09:46:33+00:00 List-Id: mabes180@aol.com (Sarah Thomas) writes: > I'm new to Ada, can someone help me with this. > I need to read a text file word by word. THe approach I took is to > read each line of the text file and then parse the words out. I have > read each line, now I have a hard time to parse the line into words > and store them in an array. can someone help me with this. > thanks If you are using GNAT be sure to look at GNAT.AWK. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595