unhuman Posted December 16, 2010 Share Posted December 16, 2010 This is really strange... 10 CALL KEY(1,K,S) 15 PRINT K 20 IF K=0 THEN 40 30 GOTO 10 40 PRINT "BYE" When pressing the X key - it prints K=0, however, line 20 doesn't match. However, if I switch line 20 to be 20 IF STR$(K)="0" THEN 40 Then it works And, the former case works perfectly in XB Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.