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 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-08 11:18:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!140.99.99.194.MISMATCH!newsfeed1.easynews.com!easynews.com!easynews!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3E6A4205.70800@acm.org> From: Jeffrey Carter User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: getting words from file References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 08 Mar 2003 19:16:53 GMT NNTP-Posting-Host: 63.184.17.200 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1047151013 63.184.17.200 (Sat, 08 Mar 2003 11:16:53 PST) NNTP-Posting-Date: Sat, 08 Mar 2003 11:16:53 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:35074 Date: 2003-03-08T19:16:53+00:00 List-Id: cookie wrote: > 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. If you define words as separated by whitespace, then look at PragmARC.Word_Input, available from http://home.earthlink.net/~jrcarter010/pragmarc.htm which does just that. -- Jeff Carter "Son of a window-dresser." Monty Python & the Holy Grail