Jump to content



Photo
- - - - -

Cfx-9850gb Plus Getkey Function Values


  • Please log in to reply
2 replies to this topic

#1 Konfl1kt

Konfl1kt

    Newbie

  • Members
  • Pip
  • 1 posts

  • Calculators:
    Casio CFX-9850GB PLUS

Posted 18 June 2006 - 02:32 AM

Im attempting to write a program that begins with a menu with each option being numbered. When you press the number corresponding to the option it takes you to that particular option. I've been using the Getkey function to do this, but I am unsure of the numeric value of the numbers I need.

For example to go to option 1 I used the following code:

Do
Getkey=72=>Goto 1

As the value of the number 1 on the keypad is 72.
Is there a site that lists all the values of keys in terms of the Getkey function or even a simple method of determining the value of the key?

Thanks
Konfl1kt

#2 casiokingdom

casiokingdom

    UCF BASIC Programming 2nd Place

  • Members
  • PipPipPipPipPipPipPip
  • 782 posts
  • Gender:Male
  • Location:Perth, WA, Australia

  • Calculators:
    CFX-9850GB PLUS WE, fx-9860G AU

Posted 18 June 2006 - 05:25 AM

The getkey values should be in your manual.

Or

Create a new program:

Lbl 1
ClrText
Getkey
Locate 1,1,Ans
Goto 1

It will show you your getkey values

#3 R00KIE

R00KIE

    Casio Freak

  • Members
  • PipPipPipPip
  • 155 posts
  • Location:Portugal
  • Interests:Electronics, games, programming

  • Calculators:
    HP49G ROM 1.24; CASIO CFX-9850GB PLUS;CASIO FX-6300G; CASIO FX-82TL

Posted 20 June 2006 - 05:13 PM

Also a little tip don't do:
Getkey=70=>Goto 1
Getkey=71=>Goto 2

This will work but it may do things you aren't expecting, do this instead:
Getkey->K
K=70=>Goto 1
K=71=>Goto 2


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users