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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,323cf9d74a4ce4ed X-Google-Attributes: gid103376,public From: john@assen.demon.co.uk.nospam (John McCabe) Subject: Re: help on Ada project Date: 1999/12/02 Message-ID: <3846c15b.3068178@news.demon.co.uk>#1/1 X-Deja-AN: 555882308 X-NNTP-Posting-Host: assen.demon.co.uk:158.152.218.101 References: <82204n$f3n$1@nnrp1.deja.com> <3845A4C4.4E8A76FC@australia.boeing.com> X-Trace: news.demon.co.uk 944161407 nnrp-13:23458 NO-IDENT assen.demon.co.uk:158.152.218.101 Newsgroups: comp.lang.ada X-Complaints-To: abuse@demon.net Date: 1999-12-02T00:00:00+00:00 List-Id: Peter Milliken wrote: >Nope, perhaps if you posted your code then we can help you by pointing >out what is wrong. No freebies here, I'm sorry to say :-) A hint - case selectors must be discrete types in Ada. Strings are not discrete types. > >Peter > >phantom119@my-deja.com wrote: > >> I need some help on Ada, we are to create a >> lexical analyzer and we are stuck on the fact that >> it's giving us some problems on string comparison, >> we are using a case statement to compare strings, >> since just a few words the analyzer should >> recognize for example "begin" and print out on the >> screen TBegin, we are using a case statement but >> for some reason I guess we are not using the right >> syntax, any suggestions on how would you do that? >> >> Sent via Deja.com http://www.deja.com/ >> Before you buy. > Best Regards John McCabe