jaberwacky Posted August 15, 2013 Posted August 15, 2013 (edited) Nevermind, I think I've just been up too long. Hope I'm not overlooking something. Global Const $line = _ " $this.Model.UpdateUserProperty('style.au3.32', 'back:' & $this.Model.GetEditBackColor() & ',' & _" ; StringLen() = 104 | 123456789|123456789|123456789|123456789|123456789|123456789|123456789|123456789|123456789|123456789|12345|789| ^ Column 106 ConsoleWrite(StringLen($line) & @CRLF) StringLen says that $line is 104 chars long. Which is true. When I place the caret after the underscore and in front of the closing quotation mark then SciTE reports the column as 106. I thought they should be the same thing? If remove the Tab that appears between "GetEditBackColor()" and the ampersand and replace them with two spaces (I have tabs set to two in SciTE) then StringLen will return 103 even though the string appears to be the same length. This must have been some typo I made. Edit: The forum seems to have changed the formatting. Download this if interested: Edited August 15, 2013 by jaberwocky6669 Helpful Posts and Websites: AutoIt Wiki | Can't find what you're looking for on the Forum? My scripts: Guiscape | Baroque AU3 Code Formatter | MouseHoverCalltips | SciTe Customization GUI | ActiveWindowTrack Toy | Monitor Configuration UDF
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now