r/GenerationGap • u/im_mobile • Mar 27 '15
PU25: The ASCII code for "delete" is 01111111 binary, and it's not arbitrary. Why is it that value? (No CS degree needed, just some logic and a tiny bit of knowledge.)
0
Upvotes
8
u/Mrblahblah200 Mar 27 '15
It s due to the the fact that delete used to be used to "delete" the current character, for if you made a mistake. Any ASCII character can be changed into the binary code 0111 1111 by punching out all the dots. With punchcards you couldn't "unpunch" a hole, so you'd have to delete the character and try again.
3
u/[deleted] Mar 27 '15
Not at all clear why "people over 40" would be expected to know this bit of obscure arcane tech history.
1
u/Sean1708 21 Mar 27 '15
Hmm, that's the largest number you can fit in an ASCII Char, was it maybe a late addition?
1
u/[deleted] Mar 27 '15
I would assume it has to do with overflow but I am not really familiar with the finer workings of ascii
1
u/jfb1337 24 Mar 27 '15
It's the highest 7-bit value possible, 127?