marko29 0 Posted January 11, 2011 I know its a bit silly and not a real issue but still if you work with alot of "$$" in your strings it might confuse you and scite as well Just in case anyone wants to know about it, again i am not screaming bugg!!! haha Share this post Link to post Share on other sites
GEOSoft 68 Posted January 11, 2011 It shouldn't confuse anything if it's quoted properly. GeorgeQuestion 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!" Share this post Link to post Share on other sites
marko29 0 Posted January 12, 2011 (edited) It shouldn't confuse anything if it's quoted properly.May i ask what is correct way to quote it then? Since i tried with "" and ''Btw nice regex tool, i am happy that you replied Edited January 12, 2011 by marko29 Share this post Link to post Share on other sites
GEOSoft 68 Posted January 12, 2011 (edited) depends on what you are doing in the string. If you want the double quotes included than wrap the string in single quotes('"$$"'). If you just want $$ as a string then wrap it in either single or double quotes. Scite will read that as a literal string and won't touch it.I should have added this;If you are working with a regular expression and you want to match double-quote$$double-quote, use \x22 instead of the quote. \x27 for single quote match. Edited January 12, 2011 by GEOSoft GeorgeQuestion 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!" Share this post Link to post Share on other sites
jvanegmond 307 Posted January 12, 2011 There is an option in AutoIt that enables auto-resolving of variables used in strings. AutoItSetOption("ExpandVarStrings", 1) $foo = "Bar" MsgBox(0, "", "Value of $$foo: $foo$")) You can also do things like: $foo = "Bar" MsgBox(0, "", "Value of $foo: " & Eval("foo")) github.com/jvanegmond Share this post Link to post Share on other sites