Re: continuation character
Re: continuation character
- Subject: Re: continuation character
- From: John W Baxter <email@hidden>
- Date: Sat, 9 Dec 2000 11:10:23 -0800
At 9:24 -0800 12/9/00, Paul Berkowitz wrote:
>
If anyone doesn't have a list of all the ASCII characters, you can make one
>
easily like this, although most of the low ASCIIs 0-31 will be meaningless
>
squares; you have to look those up somewhere like the Danny Goodman book:
>
>
set ls to {}
>
repeat with i from 1 to 255 -- don't try 0
>
set end of ls to "" & i & tab & tab & ASCII character i
>
end repeat
>
set AppleScript's text item delimiters to {return}
>
set txt to "" & ls
>
set AppleScript's text item delimiters to {""}
>
txt
Just a quibble: that produces a list of all the ASCII characters, plus 128
non-ASCII characters which Mac uses one way, Windows uses in two or three
other ways, DOS uses in another way, etc. ASCII refers to a standard which
is defined only over 0 through 127. ["Control" characters are 0 through 31
and 127...127 is "del" because to "erase" a character on paper tape one
punched all the holes. [A character on paper tape is called a line, just
to make things more fun.]
One can see glyphs for many of the control characters by displaying in
Charcoal or Chicago (one may have to do Chicago in sizes other than 12
points on older Macs). But they don't represent a standard as far as I
know (they do help with drawing menus).
By the way, the current mailing list software is more of an issue for
scripts displayed for MPW on the mpw-dev list, since that wonderfully
flexible scripting language makes mandatory use of a lot of option-x
characters. For that list, it looks as if it is going to be necessary to
post scripts on web pages and refer to them, for a while.
--John
--
John Baxter email@hidden Port Ludlow, WA, USA