muzle6074 Posted January 3, 2008 Share Posted January 3, 2008 Hi! I've done some fundamental programming but still not fluent in any language so all help appreciated! I was just wondering how to declare a variable that's value is randomly chosen between the numbers of 10 and 1000. How can I do this? - muzle6074 Link to comment Share on other sites More sharing options...
Fossil Rock Posted January 3, 2008 Share Posted January 3, 2008 Dim $Var[Random(10,1000)] Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
muzle6074 Posted January 3, 2008 Author Share Posted January 3, 2008 Thanks for the quick response Fossil Rock! You wouldn't happen to know how to create multilines in a msgbox? Like... --- msgbox --- | line1 | | line2 | | ___ | | |ok| | ____________ like my picture? Link to comment Share on other sites More sharing options...
herewasplato Posted January 3, 2008 Share Posted January 3, 2008 (edited) MsgBox(0, "AutoIt3", "Line 1" & @CR & "Line 2" & @CR & "Line 3") MsgBox(0, "AutoIt3", "Line 1" & @CR & _ "Line 2" & @CR & _ "Line 3") Edit: you can use @CR @LF @CRLF Edited January 3, 2008 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Fossil Rock Posted January 3, 2008 Share Posted January 3, 2008 MsgBox(0,"MultiLine Message Box","Line 1" & @CRLF & "Line 2" & @CRLF & "____") Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
corey822 Posted January 3, 2008 Share Posted January 3, 2008 MsgBox(0,"MultiLine Message Box","Line 1" & @CRLF & "Line 2" & @CRLF & "____") hey fossil rock is autoit for dummies a real book? sorry for the offtopic cheers C.W C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
Fossil Rock Posted January 3, 2008 Share Posted January 3, 2008 hey fossil rock is autoit for dummies a real book? sorry for the offtopic cheers C.WUhhhh no. Just an avatar I made. Agreement is not necessary - thinking for one's self is! 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