RE: what's wrong with this?

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


> From  michaelhoelzende

> Hi all,
> i've got a problem in understanding script-fu.
> Hopefully one can help.
> What is wrong with the following? Without the second 
> "(gimp-message dummyyy)" everything is fine.
> With it and condition true script-fu.exe crashes.

>    (if (> getfifapo-list 0)
>       (begin
>          (set! countit 3)
>          (set! dummyyy (car(number->string countit)))

Your problem is that last line. Car is used to access the first element of a
list. However number->string doesn't return a list.
The correct syntax would be: (set! Dummyyy (number->string countit))

I'm surprised it crashes script-fu though. It should just return an error.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!

Yahoo! Groups Links

<*> To visit your group on the web, go to:

<*> To unsubscribe from this group, send an email to:

<*> Your use of Yahoo! Groups is subject to:

[Index of Archives]     [Gimp Developers]     [Gimp Users]     [Yosemite News]     [Epson Inkjet Printers]     [Scanners]     [Gimp's Home]     [Steve's Art]

&hbsp; Powered by Linux