12-07-2023, 04:10 PM
(This post was last modified: 12-07-2023, 04:17 PM by pixelmixer.)
try VSC, free in linux, it's great, colored brackets for scheme help a lot.
this code will print 'value = 1' in the error console.
change #t to #f and it'll print 'value = 2'
)
maybe try: (set! isInteractive (if (equal? i 1) RUN-INTERACTIVE RUN-WITH-LAST-VALS))
I'd probably do this though, out of habit.
this code will print 'value = 1' in the error console.
change #t to #f and it'll print 'value = 2'
Code:
(let*
(
(value 0)
)
(set! value (if #t 1 2))
(gimp-message (string-append "value = " (number->string value)))
maybe try: (set! isInteractive (if (equal? i 1) RUN-INTERACTIVE RUN-WITH-LAST-VALS))
I'd probably do this though, out of habit.
Code:
(if (= i 1) (set! isInteractive RUN-INTERACTIVE)
(set! isInteractive RUN-WITH-LAST-VALS))