Tuesday, February 2, 2010

Coding In Gimp

Meathods:

(define x 6)
define (funcname param1 p2...)
body
)

Loops:

(let loopname ((i 0))
(if (not (= i 10))
(begin
:tell it what you want: (loopname (+ i 1)
)
)
)

not = if true, then false. If false, then true.
i = iterator
if = if true, do this

In Gimp its helpful to know that if you press the up arrow it will bring up previous written codes.

No comments:

Post a Comment