Correct would be
(de ffiles (dir_list)
(cond
((=T (info (car dir_list))) (print is directory))
(T (print is not directory)) ) )
Note the 'T' in the last line.
Ok, I already corrected the code and capitalized the function parameter.
$ pil pil_files.l -main +
:
Hi Luis,
there's no return to the bash shell (either using '+' or not).
If I had the
(bye)
at the bottom of the code as suggested by Henrik:
$ pil pil_files.l -main
outputs nothing and return to bash (either using '+' or not).
Yes, sure. Because (bye) is called in pil_files.l, before