I think that there exists a problem with the construct of your IF statement.
The format of IF statements in Scheme is:
(if condition
do_this_if_true
do_this_if_false
)
For example:
(if (< x 0)
(print "X is negative")
(print "X is positive")
)
The "do_this_if_false" is optional but if you wish to do more than one
thing, you must use a "(begin" ... ")" statement.
(if (< x 0)
(begin
(print "X is negative")
(set! sign -1)
)
(begin
(print "X is positive")
(set! sign 1)
)
)
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user