Jump to content
Sign in to follow this  


Recommended Posts


It works fine for me, but here's how I would do it since I'm paranoid about operator precedence...

$Number = int(InputBox("Options", "How many programs will you be adding to this AiO? (1-5)"))
If ($Number > 5) Or ($Number < 1) Then
    MsgBox(0, "ERROR", "Try reading the prompts... " & $Number & " is not 1-5...")
Also note that if you had "$Number > 6" which means 6 would be accepted.

[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Share this post

Link to post
Share on other sites

OMG... You guys have got to think I'm on something... I'm deleting my posts... x.x

Of course > 6 would not trigger a statement upon receiving a return value of 6... ACK...

Edited by BinaryBrother

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.