Re: [Gimp-developer] Script-Fu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> (define blur-file "blur.png")
> (define blur-file "otherblur.png")
>
> Different versions of Scheme handle this differently. I do not know if this is
> proper Gimp-scheme (re-defining a defined variable), or if one would have to
> use set! for the second definition/assignment. Incidently, no script-fu seems
> to make use of global variables, only of local let* - environments.
>
> Perhaps (define ...) is equivalent to (set! ...) here?

I don't know "officially", but it seems that with any definition of
define, you can define it first, and then set! it everywhere else.  Even
if your first define is

(define blur-file '())

Jon


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux