• 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: Missing values and Script Editor request
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing values and Script Editor request


  • Subject: Re: Missing values and Script Editor request
  • From: Dave Balderstone <email@hidden>
  • Date: Wed, 7 Sep 2005 20:56:12 -0600


On 7-Sep-05, at 5:59 PM, Christopher Nebel wrote:

What's happening here is that it's trying to let you nest comments. This is a bit tricky, as it requires ignoring things like 'set smiley to "*)"', even when they occur inside a comment. It's therefore trying to break things up into tokens, and falls over when you give it lexical garbage like the example above.


Is this by design, or a bug?

It seems to me that if the

(*
this is a comment
*)

construct is deliberately part of the language then anything in that construct *should* be treated as a comment.

The construct

set foo to "(*"

is obviously *not* a comment because the characters in question are enclosed in another construct "" which should be interpreted first.

It further seems to me that this is a simple "order of operations" decision like my daughter is now intensely studying on her second day of Grade 10.

Is it useful to have this reported as a bug, Chris? Even if only to get it bumped a spot or two up the list?

djb

_______________________________________________
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: Missing values and Script Editor request
      • From: Emmanuel <email@hidden>
References: 
 >Re: Missing values and Script Editor request (From: "Scott Babcock" <email@hidden>)
 >Re: Missing values and Script Editor request (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Missing values and Script Editor request
  • Next by Date: Re: iTunes 5 scripting - thoughts?
  • Previous by thread: Re: Missing values and Script Editor request
  • Next by thread: Re: Missing values and Script Editor request
  • Index(es):
    • Date
    • Thread