Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inkey() causes Function argument value, type, or count i
Message
De
12/11/1999 03:36:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/11/1999 15:48:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00289136
Message ID:
00290507
Vues:
36
>>BTW in Bernard's situation (don't remember your code at the moment) I just noticed something.
>>He does :
>>bb = inkey(20, "H")
>>if bb ...
>>
>>Well if user presses a key then no problem. But what would be the value of bb if user doesn't key for 20 secs. Since I don't see the other parts of code I assume it would be logical (just declaration of bb).
>
>I don't see any problem. If key is not pressed during 20 seconds,
>inkey() returns 0 and bb gets value of zero. So bb is always
>numeric and can be compared with any number.


I stand corrected. You're right. It would return a numeric in any case (including mouse click -151- if "M" is provided).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform