Jump to content
SteveB

XB: ASCII > 127

Recommended Posts

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? 

  • Like 2

Share this post


Link to post
Share on other sites
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

  • Like 5
  • Thanks 1

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...