Eric, Your code looks exactly like mine around 290 ish.

except I don't do that deep indents. \:\)
oh, and I never did iif. per old golf rules, if you are not forced to use if-else-endif, all of it, you are wasting strokes by using iif.

so, $t=$t+iif($s>0,$s,$s+48) would be $t=$t+$s+48*($s<)

which would only help you by 7. which is exactly the amount required to even spell skeleton iif(,,)
_________________________
!

download KiXnet