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

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 probably meant to use "display". Also keep in mind that the "display" function only takes a string so you may first need to convert what you pass it to a string.


Kevin.           |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why we're
                                | powerful!"
#include <disclaimer/favourite> |             --Chris Hardwick

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