Sign in to follow this  
Followers 0
muzle6074

newbie needs help!

7 posts in this topic

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

Share this post


Link to post
Share on other sites



Dim $Var[Random(10,1000)]


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites

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? :)

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

MsgBox(0,"MultiLine Message Box","Line 1" & @CRLF & "Line 2"  & @CRLF &  "____")


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

hey fossil rock is autoit for dummies a real book? sorry for the offtopic

cheers C.W

Uhhhh no. Just an avatar I made.


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
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
Sign in to follow this  
Followers 0