On Tuesday 22 February 2005 10:54 pm, Kevin Cozens wrote:
> Kent Loobey wrote:
> >I would like to know how to insert a string into a cons-array using
> > Script-Fu.
> >
> >Specifically how do I get the following to work?
> >
> >(let (
> >        (foo (cons-array 1 'string))
> >     )
> >    (aset foo 0 "my string"))
> >)
> >
> >Clearly "aset" is not the function to use...
> >
> >I am not trying to get you to figure out things for me but I have been
> > working on trying to figure this out for about a week,
>
> If I understand what you are trying to do properly, it works in Tiny-Fu
> but not in Script-Fu. A quick look at the Script-Fu source seems to
> indicate there is a bug in the aset routines when it comes to dealing
> with a string array.
>
> I would suggest you enter this in bugzilla as "aset not working when
> using string arrays".

Thanks Kevin.  I'll enter it in bugzilla and I will also try it in Tiny-Fu.

Kent

-- 
The Grape's Dilemma:
Awash in the vat of the universe, I am obsessed with desire to remain a 
grape...
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to