SteveB Posted October 18, 2021 Share Posted October 18, 2021 Hi, I am looking at an old XB program of mine. There is a DATA statement with weird characters in a string. I use ASC(SEG$(A$,i,1))-48 to store values for the game in a DATA string, so "0" becomes 0, "A" becomes 17 and so on. There are characters with values of 130 and 140 in the string. How the #!%& did I enter them on the keyboard in 1984? 2 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted October 18, 2021 Share Posted October 18, 2021 130=CTRL B 140=CTRL L I used to use CTRL keys a lot ...their character definitions seem to also be used for file buffers. 4 1 Quote Link to comment Share on other sites More sharing options...
+OLD CS1 Posted October 18, 2021 Share Posted October 18, 2021 6 hours ago, HOME AUTOMATION said: 130=CTRL B 140=CTRL L Also (most codes are listed in the Users' Reference Guide in the appendix.) 127 = FCTN V 128 = CTRL , 129-154 = CTRL A-Z 155 = CTRL . 156 = CTRL ; 157 = CTRL = 158-159 = CTRL 8-9 (here begins non-definable characters) 176-183 = CTRL 0-7 184 = FCTN , 185 = FCTN . 186 = FCTN / 187 = CTRL \ (found in Classic99, not confirmed on real console) 188 = FCTN 0 189 = FCTN ; 190 = FCTN B 191 = FCTN H 192 = FCTN J 193 = FCTN K 194 = FCTN L 195 = FCTN M 196 = FCTN N 197 = FCTN Q 198 = FCTN Y 5 1 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.