idnno Posted January 13, 2009 Share Posted January 13, 2009 Does anyone know what is up with this? Why does my output show this: | | Instead of this: | |~| Code: $11 = Opt("GUIDataSeparatorChar","|~|") consolewrite($11 & @CRLF) $22 = Opt("GUIDataSeparatorChar","|") consolewrite($22 & @CRLF) From the Help File: Return Value Returns the value of the previous setting for the option Link to comment Share on other sites More sharing options...
Robjong Posted January 13, 2009 Share Posted January 13, 2009 Hey, This works fine, because (i guess) the data seperator can only be 1 character.... $1 = AutoItSetOption("GUIDataSeparatorChar","~") consolewrite($1 & @CRLF) $2 = AutoItSetOption("GUIDataSeparatorChar","|") consolewrite($2 & @CRLF) Link to comment Share on other sites More sharing options...
idnno Posted January 13, 2009 Author Share Posted January 13, 2009 Hey, This works fine, because (i guess) the data seperator can only be 1 character.... $1 = AutoItSetOption("GUIDataSeparatorChar","~") consolewrite($1 & @CRLF) $2 = AutoItSetOption("GUIDataSeparatorChar","|") consolewrite($2 & @CRLF) Thanks for the quick reply. I guess that's why they say separator character - not characters! Link to comment Share on other sites More sharing options...
Robjong Posted January 13, 2009 Share Posted January 13, 2009 (edited) np, that was what i thought and a quick test confirmed it Edited January 13, 2009 by Robjong Link to comment Share on other sites More sharing options...
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