Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>nupper() - convert inkey() value to uppercase integer</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     nupper() - convert inkey() value to uppercase integer
  Usage:    <integer> = nupper(<key>)
  Params:   integer <key> - standard inkey() key value
  Returns:  integer equal to the uppercase equivalent of <key>

 ---------------------------------- Example ---------------------------------

                 nkey = nupper(waitkey(0))
                 do case
                      case nkey = 65 && capital "A"
                           do something

                      case nkey = 90 && capital "Z"
                           do nothing

                 endcase


See Also: nlen()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson