I think that the version of siod compiled for gimp does not
support the opendir function.

[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org

On Sat, 9 Dec 2000, Piotr K. Isajew wrote:

> Hi,
> 
> I would like to make a Scheme script, that displays all files in
> specified directory. I tried something like:
> 
> (define (script-fu-main a_arg)
>   (let* 
>       (
>        (dir (opendir a_arg))
>        (dirent ())
>        )
>     (while set! dirent (readdir dir)
>        (print dirent)
>           )
>     (closedir dir)
>     ) 
>   )
> 
> but this fails with:
> ERROR: unbound variable (errobj opendir)
> 
> 
> What should I do to correct this problem.
> 
> Thanks in advance
> 
> Piotr.
> 

Reply via email to