Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - altkeyc() return alt key code for character http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 altkeyc()           Return Alt key code for character
------------------------------------------------------------------------------
 Declaration
   io.hdr

 Syntax
   func uint altkeyc extern
   param const char cString

 Arguments
   cString is a string whose first character's Alt key code is sought.

 Return
   Alt key code.

 Description
   The altkeyc() function returns the Alt key code corresponding to the
   first character of the passed string. Only upper case characters are
   processed.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_altkeyc
   ? altkeyc( "X" )           // print 32813
   ? altkeyc( "Cat" )         // print 32814
   ? altkeyc( "cat" )         // print 0, lower case characters are not processed
   endproc

   proc main
   Test_altkeyc()
   endproc

See Also: altkeyn()

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