0's were treated as strings inside the function (because of if val(etc))
so the output of 100,200,300,0,0 was 10020030000
Jochen
Generated in 0.064 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.