8-5-15

Command Reference

kInput/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.

79 69 59 49 39 29

78

68

58

48

 

28

38

27

 

 

 

 

77

67

57

47

 

37

76

66

56

46

36

26

75

65

55

45

35

25

74

64

54

44

 

73

63

53

43

33

72

62

52

42

32

71

61

51

41

31

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.

20050401