INKEY$
LIT UNE TOUCHE DU CLAVIER
ACTION
La variable système INKEY$ retourne la touche enfoncée du clavier.
Remarque: le mot-clé INKEY$ se termine par '$' parce que la valeur retournée est du type string.
SYNTAXE : INKEY$ dans une expression
UTILISATION
ERREUR
EXEMPLE
dim a$
label test_clavier
' attendre l'appui sur une touche ...
test_clavier:
a$=inkey$
if a$="" then goto test_clavier
print "la touche est "+a$
EN RAPPORT
INPUT
SCANCODE
Content created by Jack. Updated March 07, 2025