我正在尝试在 Gimp Script-Fu 脚本中设置条件语句,但似乎没有执行任何操作。
(gimp-message "before cond")
(cond
[#t (gimp-message "I should see this")]
[else (gimp-message "I shouldn't see this")]
)
(gimp-message "after cond")
我得到的输出如下
script-fu.exe-Warning: before cond
script-fu.exe-Warning: after cond
我在这里做错了什么?为什么我的 gimp-messages 没有出现在cond
声明中?