• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "read from" and non-lo-ascii characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "read from" and non-lo-ascii characters


  • Subject: Re: "read from" and non-lo-ascii characters
  • From: Chris Page <email@hidden>
  • Date: Sat, 25 Jun 2005 02:34:56 -0700

On Jun 23, 2005, at 12:41, Paul Berkowitz wrote:

And, let's be fair here, ...

Let's not :-)

... maybe the predilection for referring to that range as "high ASCII" is at least partly due to the Standard Additions "ASCII character" and "ASCII number" which just so happen to cover the full range 0-255.

Not to sound argumentative, but I don't think that's related to why people use the term "high ASCII". That term dates back to at least the late 1970's, long before AppleScript or the Macintosh existed.


But, of course, you bring up a very important point, that AppleScript's terminology for mapping between characters and integers has always been incorrectly named and is sorely overdue for an overhaul. My guess is that that was probably a consequence of earlier programming languages like BASIC, which had (and still have) a function named "ASC", which returned the numeric value for an ASCII character. I suppose when the first BASIC was designed, it may have indeed been working exclusively with ASCII characters, but certainly as early as the age of the Atari 800, Apple ][+, Commodore 64, and TRS-80, each of which had some version of BASIC available, this function was already misnamed, since each of those computers had its own, incompatible 8-bit character set.

That is to say, when AppleScript was created, existing programming languages -- and people in the computer industry in general -- already had a rich tradition of misusing the term "ASCII". When I get a time machine, the first thing I'll do after making millions of dollars in the stock market will be to go to Dartmouth and have them name the ASC function something else.

--
Chris Page - Software Wrangler - Dylan Pundit

 The most likely way for the world to be destroyed, most experts agree,
 is by accident. That's where we come in; we're computer professionals.
 We cause accidents.                           -- Nathaniel Borenstein

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: "read from" and non-lo-ascii characters
      • From: "Dennis W. Manasco" <email@hidden>
    • Re: "read from" and non-lo-ascii characters
      • From: Elliotte Harold <email@hidden>
References: 
 >Re: "read from" and non-lo-ascii characters (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: "read from" and non-lo-ascii characters
  • Next by Date: Re: [OT] politically commentary; [was] Not as bad as thought
  • Previous by thread: Re: "read from" and non-lo-ascii characters
  • Next by thread: Re: "read from" and non-lo-ascii characters
  • Index(es):
    • Date
    • Thread