Paxar Gold 6037EX User Manual Page 42

  • Download
  • Add to my manuals
  • Print
  • Page
    / 230
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 41
4-6 Programmer’s Manual
kbdSetAlpha
Description
Changes the keypad’s data entry mode to Lower-case Alpha
mode.
Syntax
void kbdSetAlpha (void);
Parameters
None
Return Values
None
Example
#include <stdio.h>
#include <conio.h>
#include "mmsultra.h"
void main(void)
{
int iSavedmode = 0; // Saved mode
int iInput = 0; // Key entered
kbdSetAlpha(); // Set Lower-case Alpha
iSavedmode = kbdGetMode(); // Save the current mode
kbdSetCaps(); // Set Upper-case Alpha
printf("Press an alphabetic\nkey: "); // Test the mode
while (_kbhit())
;
iInput = _getch();
printf("\nYou pressed %c\n", iInput);
kbdRestoreMode(iSavedmode); // Return to prev. mode
Page view 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 229 230

Comments to this Manuals

No comments