> The clever guy at work, just fixed it: Using function parameters as a way to return values will really confuse you when you come to look at this code again one day... :-) Jason