Re: [Gimp-user] script-fu: illegal function?

2012-09-18 Thread Gary Aitken
strata_ran...@hotmail.com Numbers may not lie, but neither do they tell the whole truth. Date: Mon, 17 Sep 2012 18:47:38 -0400 From: ke...@ve3syb.ca To: gimp-user-list@gnome.org Subject: Re: [Gimp-user] script-fu: illegal function? On 12-09-17 02:28 PM, Gary

[Gimp-user] script-fu: illegal function?

2012-09-17 Thread Gary Aitken
When I try the following in the script-fu console: ((define (find-dot txt txtLen offset) (print foo)) (find-dot abcd.ef 7 1)) foo Error: illegal function The find-dot macro obviously exists and is being executed. So what is the illegal function it is complaining about? Thanks

Re: [Gimp-user] script-fu: illegal function?

2012-09-17 Thread Kevin Cozens
On 12-09-17 02:28 PM, Gary Aitken wrote: ((define (find-dot txt txtLen offset) (print foo)) (find-dot abcd.ef 7 1)) First, you wrapped the whole thing in ( ). Drop the leading and trailing parentheses. Second, that is a line of Scheme code and Scheme does not contain a print function. You