Well some feebacks.
It would make no sense for a value to have different meanings in the same context.
it wouldn't, the idea here is that the context is completely different and it's ok to have 0 returned in both context, you just missed the point (and I tried very hard to clarify)
Yes $timer().secs having a value of 0 is fine, nobody objected that:
I was not objecting to .secs being zero, I was saying that .secs on the final execution of a timer should always be zero.
What you are requesting is for .secs to return 0 in this context even though it could mean either "about to trigger again immediately" or "is never going to trigger again". That makes no sense. The only change that could make sense is for .secs to return -1 if it is not going to trigger again. However, this could have backwards-compatibility side-effects, so it cannot be changed.
Again we weren't requesting anything we were reporting that the behavior does not match what the help file says, be it because the help file is incomplete or because the behavior is wrong.
This is the issue that was reported, that $timer().secs on the final execution of the timer is not 0. Why do we claim it should be 0? Because the help file says so, let me quote quote the help file:
$timer(3).secs returns number of seconds left before timer is triggered
and
versions.txt for the sake of completeness:
Added $timer().secs property, returns number of seconds left till
timer is triggered.
Now I quote what you said in this thread:
It is simply meant to represent the delay until it is next triggered based on the delay value
This is a huge difference, the help file is not mentioning at all the value being based on the delay. It absolutely needs to include this detail otherwise .secs should do what it claims to do: truely returning the number of second before the timer is executed again, be it 0 if the timer is not going to be executed again.
Please add the 'based on the delay' bit to the help file, maybe it should be 'return the theorical time before the timer is triggered again, based on the delay.' but maybe that's scary for no good reason.