K commandes d’entrée/sortie (i/o) – Casio GRAPH 85 Manuel d'utilisation

Page 448

Advertising
background image

20050301

8-5-15

Guide des commandes

k Commandes d’entrée/sortie (I/O)

Getkey

Fonction: Cette commande se comporte comme une variable qui prend la valeur
correspondant au code de la dernière touche activée.

Syntaxe: Getkey

Exemple: Se brancher sur les Lbl 1, Lbl 2 ou Lbl

3, dans une boucle en appuyant sur
les touches 1, 2 ou 3

Lbl 0

If Getkey = 72

Then Goto 1

IfEnd

If Getkey = 62

Then Goto 2

IfEnd

If Getkey = 52

Then Goto 3

IfEnd

Goto 0

• La boucle tournera sur elle-même tant qu’il n’y

aura pas d’appui sur une touche.

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

Advertising
Ce manuel est liée aux produits suivants: