BinaryBrother Posted July 3, 2009 Share 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 Link to comment Share on other sites More sharing options...
Bert Posted July 3, 2009 Share 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/ Link to comment Share on other sites More sharing options...
Skruge Posted July 3, 2009 Share 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] Link to comment Share on other sites More sharing options...
BinaryBrother Posted July 3, 2009 Author Share 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 Link to comment Share on other sites More sharing options...
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