[Gimp-user] procedure overloading in scheme / script-fu

Can you point me to the scheme manual that talks about overloading please.

As you are talking about variable numbers of arguments, this article seems to explain how it works:

And in your example, by replacing foo2 with foo you end up with a second definition of foo which replaces the 
first, and then calls itself recursively when used - hence your infinite loop.

paynekj (via gimpusers.com)

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