>I just spent ... um ... a long time debugging a problem and found something I think the compiler should complain about, but it did not. There's a line of code in this app as follows:
>
>lnHour = HOUR(DATETIME())--11
>
>Note the two minus signs (--). I typed this in the command window at 12:45 and it returned 23. The expected value is 1. So, is -- a feature? or is that a bug?
Normal behavior - subtracting a negative number results in addition of the number.
>
>Thanks