Type and Creator - Klaus Major
yves COPPE
yvescoppe at skynet.be
Sat Jan 19 16:23:01 EST 2002
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 : yvescoppe at skynet.be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20020119/1c6697f8/attachment.html>
More information about the use-livecode
mailing list