Re: Please help with a syntax error.

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

 



   From: "Brent Hawkins" <forums@xxxxxxxxxxxxx>
   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...)

-- 
Robert Krawitz                                     <rlk@xxxxxxxxxxxx>

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf@xxxxxxxxxxxx
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[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