Jump to content

.[SOLVED]


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...")
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]

Link to comment
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

SIGNATURE_0X800007D NOT FOUND

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
 Share

  • Recently Browsing   0 members

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