> The solution is to add a line to the let block with the
> name of the variable in parenthesis (no initial value is required). A few
> of the standard Script-Fu scripts had a define that used set! but no let
> statement so a let had to be added first. I don't see how this can be
> handled automatically without a change to TinyScheme itself.
I have explained this above - re-define "set!" to use the TinyScheme
"defined?" command to see if a variable is already defined, and if this is
not the case, define it.
Gimp-developer mailing list