Jump to content

Unterminated String


Recommended Posts

ClipPut(" ' \" ' ");

Ok so normall in other languages you can use \ to comment out a quote, is there a way in autoit to do this?

ClipPut (" ' " & '"' & " ' ")

You can use EITHER " or ' to enclose a string. I prefer using ', but most use the more common ".

Of course, you could always use something like

ClipPut(" ' " & Chr(34) & " ' ")
but as far as I know, there's no "escape" character in the language (could be worng though!). Edited by JerryD
Link to comment
Share on other sites

ClipPut (" ' " & '"' & " ' ")

You can use EITHER " or ' to enclose a string. I prefer using ', but most use the more common ".

Of course, you could always use something like

ClipPut(" ' " & Chr(34) & " ' ")
but as far as I know, there's no "escape" character in the language (could be worng though!).
I ended up figuring out the first solution, but you would think that there would be an escape character, would save alot of markup \' vs & "'" &
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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