Sobiech Posted October 6, 2009 Posted October 6, 2009 Hi all I have question, how to use "Random" function to get 1 to 6? just 1,2,3,4,5,6 I dont need 1,XXX 2,XXX only complete numbers.Second question is about MsgBoxExampleFunc QUIT() MsgBox(0, "Program name", "Any message") Exit EndFuncwhat i must do to get text in two or more lines? i dont like one long line of textnext example:abcdefghijklmnopqrstuwxyz - wrongabcdefghijklmnop - Goodqrstuwxyz Thx for any help This world is crazy
Mobius Posted October 6, 2009 Posted October 6, 2009 (edited) $Title = Random(1,6,1); This last value specifies an integer return instead of a float. $Msg = "abcdefghij"& @LF &"klmnopqr"& @LF &"stuvwxyz"; You can use the @LF or @CRLF macro. MsgBox(64,$Title,$Msg) or did you mean... $Title = "?" $Msg = "abcdefghij"& _ "klmnopqr"& _ "stuvwxyz" MsgBox(64,$Title,$Msg) Edited October 6, 2009 by Mobius
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