Re: problem with select function
"damien c. sadler" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
i just realised, maybe you can't use select as a function name, as it is a reserved keyword. regards, damien ----- Original Message ----- From: "Jodie and Tiger" <[email protected]> To: <[email protected]> Sent: Thursday, October 19, 2006 6:34 PM Subject: [AutoIt] problem with select function > Hi. I did the select function for my game menu; it's not a typical menu, like start game, test speakers and exit. I will, of course, be putting an exit function in, I just want to do all the important code first. I did the select function the way Damian said to do it, but it keeps telling me it's a badly formatted func statement with func in quotes. Here is the code. Can someone tell me waht's wrong with it? Thanks. > > Func select() > if $option1 = $RandomLetter Then > right() > Else > wrong() > EndIf > Endfunc > > Hugs from Jodie and kisses from Tiger. > :) > "Belief is the cradle of myth." > Stephen King > > > ---------------------------------------- > I am using the free version of SPAMfighter for private users. > It has removed 2522 spam emails to date. > Paying users do not have this message in their emails. > Get the free SPAMfighter here: http://www.spamfighter.com/len > > [Non-text portions of this message have been removed] > > > > > Yahoo! Groups Links > > > > > > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AutoItList/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/AutoItList/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/