Jump to content

Double Quote vs Single Quote


GEOSoft
 Share

Recommended Posts

I just noticed that JP's converter changes Double Quotes to Single.

1) Are they interchangable in V3?

2) What are the Benefits/Drawbacks to either method?

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

  • Developers

Quote from CyberSlugs UNofficial helpfile:

"Strings" and 0xNumbers

Strings can be enclosed in either single or double quotes.  The option allows you to nest quotation marks by alternating single with double (or vice-versa).  If you still need to use a double quote within a double quote (or single within a single), put two marks together.

; Complicated Examples!

MsgBox(0,"", "The word 'its' is the possessive form of 'it'")

MsgBox(0,"", 'The word "it''s" is a contraction for "it is"')

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Okay. Thanks for the info. That will make it easier on these 6o year old eyes too. I find that I sometimes have to strain to see the difference between " and * in a script, (bad font settings) where I have no trouble at all distinguishing between ' and * :whistle:

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

  • 7 years later...

Hi, I need to create three level quotes in one line, It's not working for me

pls, Could anyone help me

send("(Get-WmiObject -Namespace root\SMS\Site_XXX -Query "Select collectionid from SMS_Collection WHERE Name = 'software'").collectionid")
Link to comment
Share on other sites

  • 1 month later...
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...