Jump to content
Sign in to follow this  
liten

Range of numbers

Recommended Posts

liten

SImple question how do i set a value to have a range instead of 1 number such as $Value = 1 thru 10

instead of $value1 = 1

$value2 = 2

etc..


My UDF:Freeze.au3-Freeze values like CE, ML, ETC[i][/i][u][/u]

Share this post


Link to post
Share on other sites
liten

not really more of something that can be used in this way

$numberrange = 1 to 50

if $currentnumber = $numberrange then

Func()

else

this says if $currentnumber is equal 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 but wiht out havign to type that out


My UDF:Freeze.au3-Freeze values like CE, ML, ETC[i][/i][u][/u]

Share this post


Link to post
Share on other sites
Valuater

Maybe....

$num_max = 50
$num_min = 1

If $currentnumber >= $num_min And $currentnumber <= $num_max Then

8)


NEWHeader1.png

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.