Re: Help me please

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 4 Nov 1998 19:37:18 EST, Albert Brauneis <Dajawu36 at AOL.COM> wrote:

>I want to do something like this but I am having troubles:
>
>sequence test
>test = gets(0)
>if (test = "albert") then   --  This is my prob.
>puts(1,"albert")
>end if
>
Try if compare(test,"albert") = 0 then -- think "zero difference"
 then --

Also, see wildcard.e, so you can convert both to upper case
when doing the compare - just in case of proper typing :)

if compare(upper(test),"ALBERT") = 0 then

Regards,
Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu