Re: Please help...
- Posted by Kat <gertie at PELL.NET> Jul 11, 2001
- 351 views
On 11 Jul 2001, at 22:39, echope_ at excite.com wrote: > > I have a few questions that I just would like answered so anyone that > can help, please do.(Im not very learned in Euphoria...) I wasn't born knowing Eu either, it's ok. > 1,) My first question is very simple actualy and I just wanted to know > if there was a command that made anything that the user type upper-case, > so as in a wait_key() statement or such that you wouldn't have to > specify that whatever they type could be read in lowercase or caps-lock > such as: > keypress = wait_key() > if keypress = 'a' or keypress = 'A' then... > --Also if waiting for a word its annoying to do this, > if word = "word" or word = "Word" or word = "WORD" then... > --this is also very annoying| Have you looked at upper() in the help files? keypress = wait_key() keypress = upper(keypress) -- convert it all to uppercase if equal(word,"WORD") then whatever end if > 2,) My second question is if there is another tutorial for plain > euphoria proggraming that goes over more consepts and stuff than David > Gays... begginers tutorial, not to easy but not to complicated or > advanced. I realy like this language but at this point it seems like it > would be so much easier for me to have a second tutorial picking up > where David's left off, or at least expanding on areas around there. It > does get annoying to ask every question I have on the message board to > you people :). I'm just checking if theres any way that I can learn more > than I know all in a step by step way, unlike memorizing the help > section or something... The best way is to read the entire help file, memo yourself the words you are most likely to use, and look thru source code that does things you are interested in. I have found refman.chm to be quite useful too. To find instances of the keywords in use, do simple word searches for them in your Eu directory. And experiment, try things. Don't answer "yes" to the question "Do you want to play Thermonuclear War?", but anything else should be safe.... except for file manipulation..... ymmv. Kat