if statements
#3

Your original code should work fine if BOTH are less than 10.

@ LarzI:

That shouldn't work. Your Hour && Minute expression will evaluate to true/false before it's compared to 10, even then I wonder if the compiler would chuck you a warning/error.
Reply


Messages In This Thread
if statements - by sacman - 29.09.2010, 06:52
Re: if statements - by LarzI - 29.09.2010, 06:55
Re: if statements - by Simon - 29.09.2010, 10:00

Forum Jump:


Users browsing this thread: 1 Guest(s)