BinaryBrother Posted July 3, 2009 Posted July 3, 2009 (edited) Stupid thread, oops. If a mod comes through, just err... Delete it plz. Edited July 3, 2009 by BinaryBrother SIGNATURE_0X800007D NOT FOUND
Bert Posted July 3, 2009 Posted July 3, 2009 on inputbox, did you use a msgbox to see what the return value was to begin with? The Vollatran project My blog: http://www.vollysinterestingshit.com/
Skruge Posted July 3, 2009 Posted July 3, 2009 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...") EndIfAlso 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]
BinaryBrother Posted July 3, 2009 Author Posted July 3, 2009 (edited) 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 July 3, 2009 by BinaryBrother SIGNATURE_0X800007D NOT FOUND
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now