wasikhetmaar Posted July 21, 2015 Report Share Posted July 21, 2015 Hello, I'm trying to compare a string to an empty string. When the string is NOT empty, a counter should increment. First I tried to do this with a not contact between the compare and the increment, this gave the problem that it kept incrementing. It didn't stopped after one runtime it kept going. Does someone know a better inverse method? One ugly solution that I have found is to increment before the compare and decrement if it is true. Does anyone have better options? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.