• 0

texts in box??


Question

I make two box text, when I type texts in BOX 1, I want it change to numbers in BOX 2 that I want. Like

if I type A, I want it changes to 9, and when type B, it changes to 3, and so on. A` to 7

Any one know what the commands or codes. See the pictures, and I want to press Copy button, and it will copy the

texts in BOX 2?

See the pictures at http://viettacoma.netfirms.com/decode.jpg

Link to comment
https://www.neowin.net/forum/topic/23082-texts-in-box/
Share on other sites

6 answers to this question

Recommended Posts

  • 0

do you know what ascii is?

well here it is. sorry for the length but this is what i use. I wrote a program to output this. Depends on the font for the symbols but this is pretty steady. It has all data type you could ever want.

There are 256 character, one being 0 which is NULL. No point showing null.

<pre>//Chars are displayed in this order

Letter or symbol

Decimal

Hexadecimal

Octal

Binary 2





 1 

1

1

00000001





 2 

2

2

00000010





 3 

3

3

00000011





 4 

4

4

00000100





 5 

5

5

00000101





 6 

6

6

00000110





 7 

7

7

00000111





 8 

8

10

00001000





 9 

9

11

00001001







 10 

A

12

00001010





 11 

B

13

00001011





 12 

C

14

00001100







 13 

D

15

00001101





 14 

E

16

00001110





 15 

F

17

00001111





 16 

10

20

00010000





 17 

11

21

00010001





 18 

12

22

00010010





 19 

13

23

00010011





 20 

14

24

00010100





 21 

15

25

00010101





 22 

16

26

00010110





 23 

17

27

00010111





 24 

18

30

00011000





 25 

19

31

00011001





 26 

1A

32

00011010





 27 

1B

33

00011011





 28 

1C

34

00011100





 29 

1D

35

00011101





 30 

1E

36

00011110





 31 

1F

37

00011111





 32 

20

40

00100000



!

 33 

21

41

00100001



"

 34 

22

42

00100010



#

 35 

23

43

00100011



$

 36 

24

44

00100100



%

 37 

25

45

00100101



&

 38 

26

46

00100110



'

 39 

27

47

00100111



(

 40 

28

50

00101000



)

 41 

29

51

00101001



*

 42 

2A

52

00101010



+

 43 

2B

53

00101011



,

 44 

2C

54

00101100



-

 45 

2D

55

00101101



.

 46 

2E

56

00101110



/

 47 

2F

57

00101111





 48 

30

60

00110000



1

 49 

31

61

00110001



2

 50 

32

62

00110010



3

 51 

33

63

00110011



4

 52 

34

64

00110100



5

 53 

35

65

00110101



6

 54 

36

66

00110110



7

 55 

37

67

00110111



8

 56 

38

70

00111000



9

 57 

39

71

00111001



:

 58 

3A

72

00111010


;

 59 

3B

73

00111011



<

 60 

3C

74

00111100



=

 61 

3D

75

00111101



>

 62 

3E

76

00111110



?

 63 

3F

77

00111111



@

 64 

40

100

01000000



A

 65 

41

101

01000001



B

 66 

42

102

01000010



C

 67 

43

103

01000011



D

 68 

44

104

01000100



E

 69 

45

105

01000101



F

 70 

46

106

01000110



G

 71 

47

107

01000111



H

 72 

48

110

01001000



I

 73 

49

111

01001001



J

 74 

4A

112

01001010



K

 75 

4B

113

01001011



L

 76 

4C

114

01001100



M

 77 

4D

115

01001101



N

 78 

4E

116

01001110



O

 79 

4F

117

01001111



P

 80 

50

120

01010000



Q

 81 

51

121

01010001



R

 82 

52

122

01010010



S

 83 

53

123

01010011



T

 84 

54

124

01010100



U

 85 

55

125

01010101



V

 86 

56

126

01010110



W

 87 

57

127

01010111



X

 88 

58

130

01011000



Y

 89 

59

131

01011001



Z

 90 

5A

132

01011010



[

 91 

5B

133

01011011





 92 

5C

134

01011100



]

 93 

5D

135

01011101



^

 94 

5E

136

01011110



_

 95 

5F

137

01011111



`

 96 

60

140

01100000



a

 97 

61

141

01100001



b

 98 

62

142

01100010



c

 99 

63

143

01100011



d

 100 

64

144

01100100



e

 101 

65

145

01100101



f

 102 

66

146

01100110



g

 103 

67

147

01100111



h

 104 

68

150

01101000



i

 105 

69

151

01101001



j

 106 

6A

152

01101010



k

 107 

6B

153

01101011



l

 108 

6C

154

01101100



m

 109 

6D

155

01101101



n

 110 

6E

156

01101110



o

 111 

6F

157

01101111



p

 112 

70

160

01110000



q

 113 

71

161

01110001



r

 114 

72

162

01110010



s

 115 

73

163

01110011



t

 116 

74

164

01110100



u

 117 

75

165

01110101



v

 118 

76

166

01110110



w

 119 

77

167

01110111



x

 120 

78

170

01111000



y

 121 

79

171

01111001



z

 122 

7A

172

01111010



{

 123 

7B

173

01111011



|

 124 

7C

174

01111100



}

 125 

7D

175

01111101



~

 126 

7E

176

01111110





 127 

7F

177

01111111



?

 128 

80

200

10000000



?

 129 

81

201

10000001



?

 130 

82

202

10000010



?

 131 

83

203

10000011



?

 132 

84

204

10000100



?

 133 

85

205

10000101



?

 134 

86

206

10000110



?

 135 

87

207

10000111



?

 136 

88

210

10001000



?

 137 

89

211

10001001



?

 138 

8A

212

10001010



?

 139 

8B

213

10001011



?

 140 

8C

214

10001100



?

 141 

8D

215

10001101



?

 142 

8E

216

10001110



?

 143 

8F

217

10001111



?

 144 

90

220

10010000



?

 145 

91

221

10010001



?

 146 

92

222

10010010



?

 147 

93

223

10010011



?

 148 

94

224

10010100



?

 149 

95

225

10010101



?

 150 

96

226

10010110



?

 151 

97

227

10010111



?

 152 

98

230

10011000



?

 153 

99

231

10011001



?

 154 

9A

232

10011010



?

 155 

9B

233

10011011



?

 156 

9C

234

10011100



?

 157 

9D

235

10011101



?

 158 

9E

236

10011110



?

 159 

9F

237

10011111



?

 160 

A0

240

10100000



?

 161 

A1

241

10100001



?

 162 

A2

242

10100010



?

 163 

A3

243

10100011



?

 164 

A4

244

10100100



?

 165 

A5

245

10100101



?

 166 

A6

246

10100110



?

 167 

A7

247

10100111



?

 168 

A8

250

10101000



?

 169 

A9

251

10101001



?

 170 

AA

252

10101010



?

 171 

AB

253

10101011



?

 172 

AC

254

10101100



?

 173 

AD

255

10101101



?

 174 

AE

256

10101110



?

 175 

AF

257

10101111



?

 176 

B0

260

10110000



?

 177 

B1

261

10110001



?

 178 

B2

262

10110010



?

 179 

B3

263

10110011



?

 180 

B4

264

10110100



?

 181 

B5

265

10110101



?

 182 

B6

266

10110110



?

 183 

B7

267

10110111



?

 184 

B8

270

10111000



?

 185 

B9

271

10111001



?

 186 

BA

272

10111010



?

 187 

BB

273

10111011



?

 188 

BC

274

10111100



?

 189 

BD

275

10111101



?

 190 

BE

276

10111110



?

 191 

BF

277

10111111



?

 192 

C0

300

11000000



?

 193 

C1

301

11000001



?

 194 

C2

302

11000010



?

 195 

C3

303

11000011



?

 196 

C4

304

11000100



?

 197 

C5

305

11000101



?

 198 

C6

306

11000110



?

 199 

C7

307

11000111



?

 200 

C8

310

11001000



?

 201 

C9

311

11001001



?

 202 

CA

312

11001010



?

 203 

CB

313

11001011



?

 204 

CC

314

11001100



?

 205 

CD

315

11001101



?

 206 

CE

316

11001110



?

 207 

CF

317

11001111



?

 208 

D0

320

11010000



?

 209 

D1

321

11010001



?

 210 

D2

322

11010010



?

 211 

D3

323

11010011



?

 212 

D4

324

11010100



?

 213 

D5

325

11010101



?

 214 

D6

326

11010110



?

 215 

D7

327

11010111



?

 216 

D8

330

11011000



?

 217 

D9

331

11011001



?

 218 

DA

332

11011010



?

 219 

DB

333

11011011



?

 220 

DC

334

11011100



?

 221 

DD

335

11011101



?

 222 

DE

336

11011110



?

 223 

DF

337

11011111



?

 224 

E0

340

11100000



?

 225 

E1

341

11100001



?

 226 

E2

342

11100010



?

 227 

E3

343

11100011



?

 228 

E4

344

11100100



?

 229 

E5

345

11100101



?

 230 

E6

346

11100110



?

 231 

E7

347

11100111



?

 232 

E8

350

11101000



?

 233 

E9

351

11101001



?

 234 

EA

352

11101010



?

 235 

EB

353

11101011



?

 236 

EC

354

11101100



?

 237 

ED

355

11101101



?

 238 

EE

356

11101110



?

 239 

EF

357

11101111



?

 240 

F0

360

11110000



?

 241 

F1

361

11110001



?

 242 

F2

362

11110010



?

 243 

F3

363

11110011



?

 244 

F4

364

11110100



?

 245 

F5

365

11110101



?

 246 

F6

366

11110110



?

 247 

F7

367

11110111



?

 248 

F8

370

11111000



?

 249 

F9

371

11111001



?

 250 

FA

372

11111010



?

 251 

FB

373

11111011



?

 252 

FC

374

11111100



?

 253 

FD

375

11111101



?

 254 

FE

376

11111110



?

 255 

FF

377

11111111



</pre>

Link to comment
https://www.neowin.net/forum/topic/23082-texts-in-box/#findComment-201781
Share on other sites

  • 0

Well, copy and paste from my program. the source code that created the output file is much much smaller. I guess i win for the longest post. Not even shorty's www.<< spam >> post wasn't as long. :p

Lets count how many lines. Its over 1500 i believe. 6*255+whatever left.

edit: a simpler solution would be to use ASC and chr to convert from symbol to number. I believe the post is a bit long but what the hell :p It's still very usefull.

edit2: do i get an award for that post!?. It was longest ever!!! :p

Link to comment
https://www.neowin.net/forum/topic/23082-texts-in-box/#findComment-201783
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Elon Musk once again claims Tesla robotaxis are coming soon by David Uzondu Image via Depositphotos.com Tesla's CEO, Elon Musk, has announced a tentative start date of June 22 for the company's long-awaited public robotaxi service. According to a post on his social media platform X, the initial launch will be in Austin, Texas. Musk added a significant condition, however, saying "We are being super paranoid about safety, so the date could shift." The service is expected to begin with just 10 to 20 Model Y SUVs operating within a limited area and with remote human supervision. He also mentioned a plan starting June 28 for new Teslas to drive themselves from the factory to a customer's home. This is a moment many are probably waiting for, though it comes with a heavy dose of skepticism. Musk has made grand promises about self-driving before. This robotaxi network brings to mind the bold claims from all the way back in 2019 when the company said a similar service would launch the following year. That evidently did not happen. Federal regulators also have their doubts. Last year, the National Highway Traffic Safety Administration criticized Tesla for making its "Full Self-Driving" feature sound more capable than it actually is, demanding the company align its marketing with reality. Tesla is also driving into a field that is no longer empty. Waymo, Google's sibling company, is already a major player, offering hundreds of thousands of paid rides per week across Phoenix, San Francisco, Los Angeles, and even Austin. The company is so far ahead that it has begun testing in Tokyo. But being ahead means Waymo is also the first to face certain dangers. For example, on the evening of June 8, a group of protesters in downtown Los Angeles summoned Waymo vehicles during a demonstration. When the vehicles arrived, they slashed the tires, smashed the windows, and spray-painted the cars before setting three of them on fire. Which raises a thorny question for Tesla: if you can summon a car with no one inside, can you summon it just to destroy it? It's one thing for protesters to stumble upon a robotaxi and vandalize it; it's another for someone to use the app to call a driverless car to a secluded spot for a planned attack. With public sentiment around Musk so divided, especially given his DOGE shenanigans and his recent face off with Donald Trump, that's not just a theoretical problem. We've already seen this hostility play out in attacks where people vandalize Teslas, carving swastikas into them and spray painting slogans like "Burn More Teslas" on walls.
    • This is actually quite useful. But why wouldn't they implement this in the local file system? The code is obviously all there now... maybe in 5 years.
    • The new "Story Cards" in the Software section are nice, but I wish they had the product icon included. I use this section to identify updates for software that I use regularly, and it's sometime difficult to identify the software without the product icon. Thanks for your consideration. pelaird
    • Mozilla really needed to focus on their core product for a while now. I will not mourn the death of pocket or AI garbage. One thing they don't do that I believe they should is advertise more, and not just to their core audience, especially their additional services. Let people know they actually exist.
    • Is this like tailscale?
  • Recent Achievements

    • Week One Done
      Food-Beverages-Nutrition earned a badge
      Week One Done
    • Week One Done
      Tech Dogs earned a badge
      Week One Done
    • Enthusiast
      computerdave91111 went up a rank
      Enthusiast
    • Week One Done
      Falisha Manpower earned a badge
      Week One Done
    • One Month Later
      elsa777 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      535
    2. 2
      ATLien_0
      273
    3. 3
      +FloatingFatMan
      200
    4. 4
      +Edouard
      200
    5. 5
      snowy owl
      138
  • Tell a friend

    Love Neowin? Tell a friend!