Re: Question, Please Help
- Posted by Lionel Wong <eljay98 at HOTMAIL.COM> May 27, 1999
- 407 views
>I see that the get_key() function allows for the program to get the next >key >pressed without waiting. How do I assign that key's identity (a numeric >value I'm guessing) to a variable so that I can manipulate it? > >while get_key() = -1 do >bla bla bla >end while > >But how do I take whatever key was pressed and use it? > >-Phil You can answer your own question! You wrote: get_key() = -1 which means get_key() is a function. All you have to do is turn it around... variable = get_key() ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com