Jump to content

Two strange questions

Recommended Posts

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 MsgBox


Func QUIT()
    MsgBox(0, "Program name", "Any message")

what i must do to get text in two or more lines? i dont like one long line of text

next example:

abcdefghijklmnopqrstuwxyz - wrong


ijklmnop - Good


Thx for any help

This world is crazy

Link to comment
Share on other sites

$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.


or did you mean...

$Title = "?"
$Msg = "abcdefghij"& _
"klmnopqr"& _
Edited by Mobius


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...