> 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. Guillaume ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/e4wwlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/script-fu/ <*> To unsubscribe from this group, send an email to: script-fu-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/