fultonbot Posted September 24, 2020 Share Posted September 24, 2020 Is there a trick to defining and/or setting score2 ? I DIMmed it to "a" and set it like I set score0, but it keep showing "0" when I use plotvalue: dim score2 = a rem b - 2nd byte of score 2 rem c - 3rd byte of score 2 ... score2 = 60 ... plotvalue font 0 score2 1 152 6 Quote Link to comment Share on other sites More sharing options...
Mord Posted September 24, 2020 Share Posted September 24, 2020 It might be showing the correct value based on what you're telling it to display. The 6 is in the higher nibble of C - ie the second digit that you're not asking to be displayed - you're just asking for it to display the 0 of 60, if I remember plotvalue correctly. Try plotvalue font 0 score2 2 152 6. Might want to change the 152 to 144. Quote Link to comment Share on other sites More sharing options...
fultonbot Posted September 24, 2020 Author Share Posted September 24, 2020 I had to display all 6 characters of score2 to make it work. Quote Link to comment Share on other sites More sharing options...
+Karl G Posted September 24, 2020 Share Posted September 24, 2020 2 hours ago, fultonbot said: I had to display all 6 characters of score2 to make it work. That would be because the lowest part of the score would be stored in score2+2 which would be c in your case. Try displaying variable c with two digits. Quote Link to comment Share on other sites More sharing options...
fultonbot Posted September 24, 2020 Author Share Posted September 24, 2020 23 minutes ago, Karl G said: That would be because the lowest part of the score would be stored in score2+2 which would be c in your case. Try displaying variable c with two digits. Hey!! That's a great idea! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.