Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with INKEY()
Message
De
08/08/1999 18:46:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Problems with INKEY()
Divers
Thread ID:
00251306
Message ID:
00251306
Vues:
159
I have this problem, with the following code:

bb = INKEY(20,"H")
IF bb = nkeyvar
.....
.....
. do some code
ENDIF

This is in a DO While loop that gets executed about once every 20 seconds. The idea is to allow the user to break out of the loop if needed by pressing a set of keys.

This works fine for a while and then I get the error

"Function argument value, type, or count is invalid" ERROR#11 at the line where the INKEY command is evaluated.

Before I forget this is in FOXW2.6a

Is this some bug or what is going on??

"bb" is just a local variable and should not cause this error.

Any ideas would be greatly appreciated.


Thanks

Bernard
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform