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, LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b34ecb04700058dd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-13 18:40:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi_feed3!attbi.com!sccrnsc03.POSTED!not-for-mail From: Caffeine Junky Subject: Re: how to parse words from a string Newsgroups: comp.lang.ada References: User-Agent: Pan/0.11.3 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: "Chad R. Meiners" Message-ID: NNTP-Posting-Host: 12.241.145.39 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc03 1037241643 12.241.145.39 (Thu, 14 Nov 2002 02:40:43 GMT) NNTP-Posting-Date: Thu, 14 Nov 2002 02:40:43 GMT Organization: AT&T Broadband Date: Thu, 14 Nov 2002 02:40:43 GMT Xref: archiver1.google.com comp.lang.ada:30843 Date: 2002-11-14T02:40:43+00:00 List-Id: On Wed, 13 Nov 2002 21:10:23 -0500, Chad R. Meiners wrote: > "Caffeine Junky" wrote in message > news:SEpA9.18107$L75.15886@rwcrnsc51.ops.asp.att.net... >> On Tue, 12 Nov 2002 14:33:39 -0500, Sarah Thomas wrote: >> >> One method I used was to declare some variables like this ... >> >> Break : Character := Tab --- Or space, or whatever -- >> >> subtype Word is String(1..Break); > > This subtype declaration isn't valid Ada! Strange. I didnt get any errors when compiling it. A character is an element of a String. Maybe I'm missing something. I'll pull out the LRM again. Caffien Junky