Re: [Gimp-user] Script-Fu Exceptions and errors

2009-11-25 Thread Thomas DuBuisson
> I don't like how you nest the various let*-statements. That makes the > code hard to track. > > It would be better if you have some dummy variable declarations in your > outer let*-statement and then use set! to redefine the values. > > Also note that the use of "25" for the mode is not nice, you

Re: [Gimp-user] Script-Fu Exceptions and errors

2009-11-24 Thread Thomas DuBuisson
with "catch", if I can't then I'll have to fix these corner cases. Perhaps I'll make some patches for the function documentation if people are interested. Thomas On Tue, Nov 24, 2009 at 11:34 AM, Thomas DuBuisson wrote: > Update: > > 1) The question regarding exc

Re: [Gimp-user] Script-Fu Exceptions and errors

2009-11-24 Thread Thomas DuBuisson
OBJECT (layer))' failed On Tue, Nov 24, 2009 at 10:05 AM, Thomas DuBuisson wrote: > Hello list, > > I am planning on evolving image transformations using an AST of the > script-fu langauge and generating random (but syntatically correct) > scripts.  I would like to avoid

[Gimp-user] Script-Fu Exceptions and errors

2009-11-24 Thread Thomas DuBuisson
Hello list, I am planning on evolving image transformations using an AST of the script-fu langauge and generating random (but syntatically correct) scripts. I would like to avoid programming in hundreds of corner cases into the system and thus have the following questions: 1) Script-fu throws ex