Re: Another Error

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

c.k.lester wrote:
> You're trying to compare an atom (the 'y' and 'Y') and a sequence
> (Correct, which is "n"); that is a no-no in Euphoria. Use either:
> 
>     if find(Correct,"Yy") then

Oops. That might require match() or something totally different. :)
 
>     if Correct[1] = 'Y' or Correct[1] = 'y' then

This should work just fine.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu