From: john@assen.demon.co.uk.nospam (John McCabe)
Subject: Re: help on Ada project
Date: 1999/12/02
Date: 1999-12-02T00:00:00+00:00 [thread overview]
Message-ID: <3846c15b.3068178@news.demon.co.uk> (raw)
In-Reply-To: 3845A4C4.4E8A76FC@australia.boeing.com
Peter Milliken <peter.milliken@australia.boeing.com> 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 <john@assen.demon.co.uk>
next prev parent reply other threads:[~1999-12-02 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-01 0:00 help on Ada project phantom119
1999-12-01 0:00 ` Peter Milliken
1999-12-02 0:00 ` John McCabe [this message]
1999-12-01 0:00 ` Ted Dennison
1999-12-01 0:00 ` Geoff Bull
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox