script-fu int to string

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

script-fu int to string

Nolan Clayton

Debugging a script?  Sorry to bother but what is the "int to string"
function in script-fu?  Or is there a way to print variable values out.
All I know is (gimp-message string)

Thanks
_______________________________________________
Gimp-user mailing list
[hidden email]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Reply | Threaded
Open this post in threaded view
|

Re: script-fu int to string

Akkana Peck
Nolan Clayton writes:
>
> Debugging a script?  Sorry to bother but what is the "int to string"
> function in script-fu?  Or is there a way to print variable values out.
> All I know is (gimp-message string)

(gimp-message (number->string n 10))

seems to work (the base 10 might be optional).

        ...Akkana
_______________________________________________
Gimp-user mailing list
[hidden email]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user