Nov-03-2020, 04:15 AM
(Nov-02-2020, 07:38 PM)GOTO10 Wrote:Return
is used to exit a function (if used with no return value) or to return a value when the function is called. Similarly,break
is used to exit out of a loop. You have neither in your code, so neither is appropriate.
What is it you want to happen once the expression you are evaluating is determined to be true?
i want the code to stop there and not check for any more conditions.