• 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: Preserve double quotes ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preserve double quotes ?


  • Subject: Re: Preserve double quotes ?
  • From: Gnarlodious <email@hidden>
  • Date: Tue, 16 Apr 2002 14:23:54 -0600

Entity Charles Heizer spoke thus:

> Hello,
> I've hit a snag ... How to I preserve my double quotes when writing to a
> file
>
> syntax -
>
> write "If ARG(1) = "HELP" Then" & return to MyFileRef
You need to say:"If ARG(1) = \"HELP\" Then"

The bakslash charater tells Applesript to compile the following character as
literal.

Hope that makes sense...

Rachel http://www.spectrumology.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Preserve double quotes ? (From: Charles Heizer <email@hidden>)

  • Prev by Date: Re: Exit repeat on quit
  • Next by Date: Erase the contents of a text file?
  • Previous by thread: Preserve double quotes ?
  • Next by thread: ASP request...
  • Index(es):
    • Date
    • Thread