• 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: Month as Integer (or he's ranting again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Month as Integer (or he's ranting again)


  • Subject: Re: Month as Integer (or he's ranting again)
  • From: "Marc K. Myers" <email@hidden>
  • Date: Sat, 02 Dec 2000 11:58:22 -0500
  • Organization: [very little]

Richard 23 wrote:
> Subject: Re: Month as Integer (or he's ranting again)
> Date: Fri, 1 Dec 2000 01:25:21 -0800
> From: Richard 23 <email@hidden>
> To: <email@hidden>
>
> on log theMsg
> continue log theMsg
> theMsg as list as item -- this allows me to label values
> -- for log messages, and strip the label before returning
> end log

What does the "as item" do in this construction? This whole redefinition
of "log" is a great idea and I want to understand it, but I get the same
results with "as item" or without it. I don't find "item" as a value
class in the AppleScript Language Guide, but the compiler accepts it as
a coercion so it must be a value class and not just an element of the
list value class. Or is it?

> 1. There's no such thing as a constant in AppleScript, although there
> are read only properties, of which the months are neither.

I don't understand this. There IS a value class "Constant" defined in
the Language Guide. If they're not constants, what are those annoying
things the Language Guide refers to as "constants" and which won't
coerce into strings? (months, days of the week, true, false, yes, no,
ask, etc.) Is there some difference in this regard between AS 1.1.2
(which I'm using) and the more recent versions?

I'm finding this discussion to be fascinating!

Marc [12/2/00 11:58:15 AM]


  • Follow-Ups:
    • Re: Month as Integer (or he's ranting again)
      • From: Bill Briggs <email@hidden>
  • Prev by Date: Script not waiting for completion of Eudora task
  • Next by Date: Re: Help read from resource fork
  • Previous by thread: Re: Month as Integer (or he's ranting again)
  • Next by thread: Re: Month as Integer (or he's ranting again)
  • Index(es):
    • Date
    • Thread