Re: T(r)ip of the day?
- Posted by Marcel Kollenaar <M.Kollenaar at SLO.NL> Feb 21, 1997
- 952 views
Matt, nice work... and a very creative solution. I seek throug my code to improve such constructions after seeing this. MK > At closer inspection I managed to reduce this two one line of code, > which is a hell of a lot more succinct and well faster. Comparing the > number of assignments, lines and comparisons we can see that it is > superior. > > iPos = (iTotal > 1) + 1