
29 Apr
2017
29 Apr
'17
12:51 a.m.
On 27 April 2017 at 02:45, Andrew McGlashan via luv-main <luv-main@luv.asn.au> wrote:
On 24/04/17 10:24, David via luv-main wrote:
In the message I sent before the one above, I gave what seemed to me the cleanest way to do what you originally asked, using pre-increment as I suggested in my first reply:
[...]
Yes, I did see that and I tried it out; pre-increment gives problems just the same as post-increment. So that wasn't a solution.
Thanks for the update. [...]
Using "((i++)) || true" allows me to say, I don't care if the arithmetic result is zero, I am handling the condition for loop exit outside of that result and the actual return from the ((i++)) is totally irrelevant.
Thanks for the feedback, I'm glad you found that useful.