Hello,

I'd like to compare a string variable to a constant string
in script fu using gimp 1.2.3, but I can't figure out how.

Here's what I tried in the console:

=> (set! a "hello")    ; set a to "hello"
"hello"

=> a       ; check value of a
"hello"

=> (= a "hello")    ; check if a = "hello"
()

=> (= a "nothello")  ; check if a = "nothello"
()

Script-fu always returns () instead of a true value.

What am I missing?


Thanks,
Lajos



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to