beautypg.com

K input/output commands (i/o), Getkey – Casio fx-9860G SD User Manual

Page 415

background image

20050401

8-5-15

Command Reference

k Input/Output Commands (I/O)

Getkey

Function: This command returns the code that corresponds to the last key pressed.

Syntax: Getkey

Description:

• This command returns the code that corresponds to the last key pressed.

• A value of zero is returned if no key was pressed previous to executing this command.

• This command can be used inside of a loop.

78

68

58

48

77

67

57

47

64

74

54

44

63

73

53

43

33

62

72

52

42

32

61

71

51

41

31

76

66

56

46

75

65

55

45

36

35

26

25

79

69

59

49

39

29

28

38

27

37