• 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: 2551 <email@hidden>
  • Date: Sun, 22 Mar 2015 10:30:58 +0700


Can you compile a script with:

(*
A comment test with a pipe |
*)

This still occurs in Yosemite. 



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.

You can use -- to escape the pipe and still make multi-line comments. This will compile:

(*
A comment test with a pipe --|
*)




Best

Phil

DisplayDroid beta (a lightweight script editor and automation tool) is now available for free download. More info on sqwarq.com/displaydroid
OSXClock - big, beautiful alarm clock and timer for your mac. More info on sqwarq.com/osxclock

http://applehelpwriter.com
http://sqwarq.com - apps for OS X & iOS










 _______________________________________________
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: 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: 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