Re: Scheme + opendir question

2000-12-12 Thread [EMAIL PROTECTED]
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 > s

Scheme + opendir question

2000-12-09 Thread Piotr K. Isajew
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) ) (c