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,f3ad228831281c35,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-07 19:58:56 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: ggroups@guff.org (cookie) Newsgroups: comp.lang.ada Subject: getting words from file Date: 7 Mar 2003 19:58:56 -0800 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 80.1.13.31 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1047095936 7333 127.0.0.1 (8 Mar 2003 03:58:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 8 Mar 2003 03:58:56 GMT Xref: archiver1.google.com comp.lang.ada:35059 Date: 2003-03-08T03:58:56+00:00 List-Id: Does anyone know how I would store a word in a specific variable after a space occurs inside a textfile? (say there was a line in the textfile like this: one two three four five... I'd want it to get these words and store it in an already defined var like varOne varTwo and so on. This is the idea I was playing with to get the actual word (scans through the characters until it hits a space and tries to merge all of those characters into a word): http://www.guff.org/ada.txt ..or am I way off?