Title: Type and Creator - Klaus Major
Hello,

I've found why your function doesn't work  :

function ye_olde_filetype el_patho
  put the directory into old_dir
  set the itemdel to "/"
  put last item of el_patho into the_file
  delete last item of el_patho
  set the directory to el_patho
  put the long files into all_files
  get line(lineoffset(the_file, all_files)) of all_files
  set the itemdel to ","
  set the directory to old_dir
  return last item of it
end ye_olde_filetype



the FileName of el_patho contains a date :
DD/MM/YYYY

so you will see what kind of strange chars are returned with :
put the long files into all_files


That's why
otherwise the function is correctŠ

thanks.

--
Greetings.

Yves COPPE

Email : [EMAIL PROTECTED]



Reply via email to