RSS/Atom feed Twitter
Site is read-only, email is disabled

Please help with a syntax error.

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Please help with a syntax error. habeoanimusnon 04 Jun 01:46
  Please help with a syntax error. Robert Krawitz 04 Jun 01:52
   Please help with a syntax error. habeoanimusnon 04 Jun 01:57
2009-06-04 01:46:20 UTC (over 15 years ago)
postings
2

Please help with a syntax error.

When i try to run this script in the console, it says "Error: Bad syntax of binding spec in let* : (var-one 1)"

I already wrote a much bigger script using information from an old tutorial but without trying out this simple part of it first and now that doesn't work, except when you replace the variables with values.

Using gimp 2.6.6 and Ubuntu 9.04

(let* (var-one 1)
(var-two 2)
(var-three 3)
)

If it is just written wrong please tell me how it should be written.

Thanks in advance

Robert Krawitz
2009-06-04 01:52:06 UTC (over 15 years ago)

Please help with a syntax error.

From: "Brent Hawkins"
Date: Thu, 4 Jun 2009 01:46:20 +0200 (CEST)

When i try to run this script in the console, it says "Error: Bad syntax of binding spec in let* : (var-one 1)"

I already wrote a much bigger script using information from an old tutorial but without trying out this simple part of it first and now that doesn't work, except when you replace the variables with values.

Using gimp 2.6.6 and Ubuntu 9.04

(let* (var-one 1)
(var-two 2)
(var-three 3)
)

The syntax of let* is

(let* bindings &body body)

The bindings are a single argument, so they have to be a list:

(let* ((var-one 1) (var-two 2))
...body...)

2009-06-04 01:57:18 UTC (over 15 years ago)
postings
2

Please help with a syntax error.

From: "Brent Hawkins"
Date: Thu, 4 Jun 2009 01:46:20 +0200 (CEST)

When i try to run this script in the console, it says "Error: Bad syntax of binding spec in let* : (var-one 1)"

I already wrote a much bigger script using information from an old tutorial but without trying out this simple part of it first and now that doesn't work, except when you replace the variables with values.

Using gimp 2.6.6 and Ubuntu 9.04

(let* (var-one 1)
(var-two 2)
(var-three 3)
)

The syntax of let* is

(let* bindings &body body)

The bindings are a single argument, so they have to be a list:

(let* ((var-one 1) (var-two 2))
...body...)

Thank you so much!