Was wondering if anyone knew of any documentation of which ascii or hex values come out as a (.) on hex editors, if anyone has this, or knows where i can find out please.
Pretty sure it depends on what the hex editor decides is "printable." all characters less than 0x21 are pretty much non printable.
Rather less than 0x20, since 0x20 is the space.
The printable range is: 0x20 - 0x7e.
0x00 (0x01) - 0x1f are low ASCII. (Not sure whether 0 is included, that's probably a semantics issue.) These are "control" characters, such as 0x09 tab (\t), 0x0d carriage return (\r), 0x0a line feed (\n), 0x07 beep (\a), etc.
0x7f - 0xff are high ASCII. Mostly undefined, but can be used for a 2nd language (with an appropriate codepage loaded).
Quote from: Yoni on August 30, 2004, 05:23 PM
0x7f - 0xff are high ASCII. Mostly undefined, but can be used for a 2nd language (with an appropriate codepage loaded).
Back in the days of DOS, we also used 0x7f to 0xff as the "DOS Extended Character Set," which consisted largely of text-style drawing characters used in menuing and "graphics" systems.
Quote from: MyndFyre on August 30, 2004, 05:54 PM
Back in the days of DOS, we also used 0x7f to 0xff as the "DOS Extended Character Set," which consisted largely of text-style drawing characters used in menuing and "graphics" systems.
And of course...
C:\>mode con cp prepare=972
C:\>mode con cp select=972
==> Hebrew chars in high ASCII. :)
I would like to point out that http://asciitable.com/ is a good resource if you need to lookup values.
ok, thanks that website helped a lot, now how would i create a function that replaced all the values that i want to be (.) without making a long function searching for each character or characters hex? is this possible?
Quote from: oldskooldrew on August 31, 2004, 05:06 PM
ok, thanks that website helped a lot, now how would i create a function that replaced all the values that i want to be (.) without making a long function searching for each character or characters hex? is this possible?
Oh I don't know. Maybe we can try this novel little idea called programming:
Quote from: Yoni on August 30, 2004, 05:23 PM
The printable range is: 0x20 - 0x7e.
If val > &H1F And Val < &H7E Then
' Print ASCII value
Else
' Print "."
End If
Whoo. I don't want to work my mind too much.
(If you need help translating that to another language or with other identifiers, let us know).
Quote from: MyndFyre on August 31, 2004, 07:47 PM
Oh I don't know. Maybe we can try this novel little idea called programming:
Quote from: Yoni on August 30, 2004, 05:23 PM
The printable range is: 0x20 - 0x7e.
If val > &H1F And Val < &H7E Then
' Print ASCII value
Else
' Print "."
End If
Whoo. I don't want to work my mind too much.
Yeah, be careful working your mind too much, and avoid these difficult problems. They require a lot of thinking to get them right. It's very easy to mess up. We all love tildes, right?
hi i typd dat into da vb thing and it said an error HELP WAHTS RONG@!#!?