• 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
Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)


  • Subject: Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
  • From: quark67 <email@hidden>
  • Date: Sun, 22 Mar 2015 04:03:14 +0100

Can you compile a script with:

(*
A comment test with a pipe |
*)

? 

The error say that "*)" is expected but end of script founded.
This error is so strange (I'm on 10.9.5, but also tested on 10.6.5 on other Mac). Am I the first who report it ?

I know that pipe can be used for special variables names, but why does it block the comment parsing ?

I know I can use -- for the comment (and in this case, there is no compilation bug with the pipe), but I have a long comment to made, so (* and *) is better.

Thanks if you have explanations (and I hope, an Apple engineer will read this and correct it in next version, if this bug remain in Yosemite).
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
      • From: Yvan KOENIG <email@hidden>
    • Re: Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
      • From: 2551 <email@hidden>
  • Prev by Date: Re: Is it possible to increase processor time
  • Next by Date: Re: Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
  • Previous by thread: Re: Is it possible to increase processor time
  • Next by thread: Re: Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
  • Index(es):
    • Date
    • Thread