This function allows you to search the environment variable PATH for the occurance of a
specified file.

Only the FIRST occurence is returned. Wildcards will return the first match.

Parameters:
  Filename to be searched for
  Variable to hold the returned filename

Returns:
  ZERO if successful
  NEGATIVE value if the function failed. Will also empty the variable to indicate
           failure.

This function is provided to you AS-IS, with NO WARRANTIES WHATSOEVER. ellipse data
systems can under NO CIRCUMSTANCES be held responsible for unwanted behaviour of the
script/function provided, even if ellipse data systems has been made aware of this.

Author of this function: Stefan Paetow, ellipse data systems
                         stefan@ellipse-data.co.za
