Alec Burgess wrote:
Since we've had all these messages about this ... I thought I'd ask:

Shouldn't the so-called fix I made, adding a dummy variable with a value but leaving the remaining two variables (image) and (buffer) uninitialized still have been a syntax error? I was surprised that it in fact actually made the script work.

Kevin Cozens wrote:
Alec Burgess wrote:
Thanks ... I think :-) found the example and perused the linked PDF (section 4.2.2. Binding constructs) with out much if any understanding.

I changed:
(define (save-layer orig-image layer name)
    (let* (
        (image)
        (buffer)
        )

to:
(define (save-layer orig-image layer name)
    (let* (
        (this-is-correct 0)
        (image)
        (buffer)
        )

You didn't need to read the linked PDF file. That is there for reference in case someone doubted whether the Scheme interpreter in Script-Fu is doing "the right thing" regarding the let* blocks.

The release notes should have made it perfectly clear as to the problem and its fix. Since it appears the note about Script-Fu isn't clear enough I will think about some changes to the information. In the meantime, Sven has pointed out the needed changes to the script that were referred to in the release notes.
--
Regards ... Alec   ([EMAIL PROTECTED] & WinLiveMess - [EMAIL PROTECTED])

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to