Error in conditional (cond …) script-fu
问题 I'm trying to do a script-fu and I'm using a cond statement theoretically correct, but it always gives the error "Error: ( : 1) illegal function ". This is the code: (define (script-fu-prueba edicionInteractiva) (let* ( (cond ( (equal? edicionInteractiva "Interactivo") (edicionInteractiva RUN-INTERACTIVE) ) ( (equal? edicionInteractiva "No interactivo") (edicionInteractiva RUN-NONINTERACTIVE) ) ) ) ) ) (script-fu-register "script-fu-prueba" "<Image>/Filters/PRUEBA" "Prueba" "Author"