I am trying to make a coding system whereby I can shorten long
names Los Angeles, Los Angeles County, California, United States
for example to no more than four characters. I -had- hoped to
be able to read into am array (say Khar$(N) for example) all the
characters in the ASCII except except nul (first one in the
ASCII table), tab (9th one in ASCII table), and CR (13th one in
ASCII table), eof (26th one in ASCII table) and character # 255.
That would give me 250 characters with which to work.
But, PB seems to want to work with the lower case letters,
capital letters, and numbers. By the way, my code for Los
Angeles worked out to [239][4][20][20]. New Orleans is
[249][190][150][162] Looks confusing, but in about 20 seconds in
my head, I can reverse the code and arrive at the original
name.
For those interested, instead of using a base 10 or base 16
numbering system, I am hopeing to use a base 250 or base 251
for this.
The numbers inside the brackets are the character to print on the
ASCII table. Can I use the rest of the ASCII table?
Thank you.
------------------
names Los Angeles, Los Angeles County, California, United States
for example to no more than four characters. I -had- hoped to
be able to read into am array (say Khar$(N) for example) all the
characters in the ASCII except except nul (first one in the
ASCII table), tab (9th one in ASCII table), and CR (13th one in
ASCII table), eof (26th one in ASCII table) and character # 255.
That would give me 250 characters with which to work.
But, PB seems to want to work with the lower case letters,
capital letters, and numbers. By the way, my code for Los
Angeles worked out to [239][4][20][20]. New Orleans is
[249][190][150][162] Looks confusing, but in about 20 seconds in
my head, I can reverse the code and arrive at the original
name.
For those interested, instead of using a base 10 or base 16
numbering system, I am hopeing to use a base 250 or base 251
for this.
The numbers inside the brackets are the character to print on the
ASCII table. Can I use the rest of the ASCII table?
Thank you.
------------------
Comment