Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inkey() causes Function argument value, type, or count i
Message
From
11/11/1999 15:48:06
 
 
To
11/11/1999 02:57:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00289136
Message ID:
00290284
Views:
32
>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.
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform