am632 Posted February 27, 2012 Share Posted February 27, 2012 Hi, just a quick 1, its probably really simple but I cant seem to find how to do it. Basically I have a variable which is a changing number. and I want to do the following..... If $varnumber = >3 then MsgBox(0,"","exceeds 3") Else MsgBox(0,"","does not exceed 3") EndIf If $varnumber is greater than 3 then msgbox etc. Can anyone tell me how to do this please? Thanks Link to comment Share on other sites More sharing options...
Guest Posted February 27, 2012 Share Posted February 27, 2012 this is how you do it. $varnumber = 4 If $varnumber > 3 then MsgBox(0,"","exceeds 3") Else MsgBox(0,"","does not exceed 3") EndIf Link to comment Share on other sites More sharing options...
am632 Posted February 27, 2012 Author Share Posted February 27, 2012 Ah, as simple as that , thanks for your help and the quick response 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