Firstly, I am willing to accept any code sent to me for posting on Saturday. I have not yet found time to code a solution myself because of a lack of time (been working for the last two weeks straight).

Secondly, the next KiXtart Golf tournament will be posted into the General forum as per suggestion of both Jack and Jooel.

Thirdly, the tests that I implemented in my first post with regards to the validity of the function return are indeed cruel. I'm an idealist and I do believe that anybody participating in the KiXtart Golf games does it because of an intrest in codeing KiXtart, taking KiXtart to the next level, likes to solve tricky stuff, and so on. Thus, I trust everybody to actually make sure the code fulfills the challenge without me pouring through every line of code to see whether there's a loophole.

Fourthly, I do hope everybody still has fun despite the problems we're running into with regards to integer/floating point calculations.

[ 19. September 2002, 16:25: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.