OnTheFly Posted February 20, 2007 Share Posted February 20, 2007 Ok, i want to put som text and variables in a variable. I tested the PHP way: $var = "text" . $var2 . "moretext" . $var3 But that didn't work. How can i do this? Link to comment Share on other sites More sharing options...
JohnBailey Posted February 20, 2007 Share Posted February 20, 2007 AU does not use . as the add symbol like in PHP. Instead, it is the & symbol. A little more intuitive than with PHP in my opinion. Check through the helpfile and you'll find great examples. A decision is a powerful thing Link to comment Share on other sites More sharing options...
OnTheFly Posted February 20, 2007 Author Share Posted February 20, 2007 AU does not use . as the add symbol like in PHP. Instead, it is the & symbol. A little more intuitive than with PHP in my opinion. Check through the helpfile and you'll find great examples.Thx, can i use the \" things like in PHP? Link to comment Share on other sites More sharing options...
JohnBailey Posted February 20, 2007 Share Posted February 20, 2007 If you're refering to quotes-inside-quotes, then you must do ' " test " ' So use ' instead of \ A decision is a powerful thing Link to comment Share on other sites More sharing options...
OnTheFly Posted February 20, 2007 Author Share Posted February 20, 2007 If you're refering to quotes-inside-quotes, then you must do ' " test " ' So use ' instead of \Thanks! Link to comment Share on other sites More sharing options...
OnTheFly Posted February 20, 2007 Author Share Posted February 20, 2007 Sorry, but i can't find this in the docs. Is \n a newline? Or how do i do it? Link to comment Share on other sites More sharing options...
JohnBailey Posted February 20, 2007 Share Posted February 20, 2007 Look in Macro Reference AutoIt-related Macros @CR Carriage return, Chr(13); sometimes used for line breaks. @LF Line feed, Chr(10); typically used for line breaks. @CRLF = @CR & @LF ;occasionally used for line breaks. @TAB Tab character, Chr(9) A decision is a powerful thing 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