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

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


  • Subject: Re: Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
  • From: Yvan KOENIG <email@hidden>
  • Date: Sun, 22 Mar 2015 10:22:07 +0100


Le 22/03/2015 à 04:03, quark67 <email@hidden> a écrit :

Can you compile a script with:

(*
A comment test with a pipe |
*)

? 

I faced this behavior a week ago.
I had this comment :
# par exemple, theProductSCPath = alias "Groups:sales:Selling Prices Categories:Fashion Accessories:Bags | Cases | Luggage | Pouches :Cosmetic & Toiletry Pouch:"
and the compilation failed

For some reason, I had to reproduce the same comment at an other location in the script and bingo, the compilation process behaved well.

My understanding is that the number of pipe must be even.

I edited the comments this way :
# La barre verticale a une fonction précise pour l'éditeur qui refuse de compiler s'il y en a un nombre impair.
# Compte tenu de cette particularité, dans la ligne ci-dessous, l'une de ces barres a été remplacée par un I.
# par exemple, theProductSCPath = alias "Groups:sales:Selling Prices Categories:Fashion Accessories:Bags I Cases | Luggage | Pouches :Cosmetic & Toiletry Pouch:"

Now, I may delete one of the comments and the compilation always works well.

Yvan KOENIG (VALLAURIS, France) dimanche 22 mars 2015 10:21:57


 _______________________________________________
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: quark67 <email@hidden>
References: 
 >Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *) (From: quark67 <email@hidden>)

  • Prev by Date: Re: Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
  • Next by Date: Re: Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
  • Previous by thread: Re: Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
  • Next by thread: Re: Bug? Unable to use the pipe | in AppleScript comment surrounded by (* and *)
  • Index(es):
    • Date
    • Thread