<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Type and Creator - Klaus Major</title></head><body>
<div>Hello,</div>
<div><br></div>
<div>I've found why your function doesn't work :</div>
<div><br></div>
<div><font face="Geneva" color="#000000">function ye_olde_filetype
el_patho<br>
put the directory into old_dir<br>
set the itemdel to "/"<br>
put last item of el_patho into the_file<br>
delete last item of el_patho<br>
set the directory to el_patho<br>
put the long files into all_files<br>
get line(lineoffset(the_file, all_files)) of all_files<br>
set the itemdel to ","<br>
set the directory to old_dir<br>
return last item of it<br>
end ye_olde_filetype</font></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><font face="Geneva" color="#000000">the FileName of
el_patho</font> contains a date :</div>
<div>DD/MM/YYYY</div>
<div><br></div>
<div>so you will see what kind of strange chars are returned with
:</div>
<div><font face="Geneva" color="#000000">put the long files into
all_files</font></div>
<div><br></div>
<div><br></div>
<div>That's why</div>
<div>otherwise the function is correctŠ</div>
<div><br></div>
<div>thanks.</div>
<div><br></div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div>Greetings.<br>
<br>
Yves COPPE<br>
<br>
Email : yvescoppe@skynet.be</div>
</body>
</html>