[REBOL] Re: ASCII values - here's a start
From: arolls:bigpond:au at: 14-Dec-2000 2:01
for b1 0 15 1 [
for b2 0 15 1 [
ch: to-char c: b1 * 16 + b2
h: enbase/base to-string ch 16
prin rejoin [
c " " ; decimal
ch " " ; printable (?) character
h " " ; hexadecimal
; erm... octal... hmm..
]
if b2 = 7 [print ""] ;break the display in half
]
print ""
]
I noticed when I paste the above code into
the console about 10 or 20 times it crashes and
rebol.exe is shut down. I have reported this to
feedback.
Maybe it has something to do with non-printing character codes.
We need to filter those out anyway, because they mess up the
display. What are they? Values below 32 ?
(I don't suppose anyone's made a hex editor, have they?)
Anton.