Jump to content
Sign in to follow this  
BinaryBrother

.[SOLVED]

Recommended Posts

BinaryBrother

Stupid thread, oops. If a mod comes through, just err... Delete it plz. :)

Edited by BinaryBrother

Share this post


Link to post
Share on other sites
Skruge

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...")
EndIf
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
BinaryBrother

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  

×