Quoting none <for...@gimpusers.com>:

> Oh, ok. Thanks for clearing that up.
> What about my other question, outputting a comma to the file?

You need to use 'display' instead of 'write', and output the offsets  
individually (or construct a string using 'string-append'; 'display'  
only accepts one object at a time).

    (if (= (car bounds) 0)
      (display "0,0" p)
          (display (- (cadr   bounds) x) p)
          (display "," p)
          (display (- (cadddr bounds) x) p)

More information about handling Scheme's I/O is available at:

Gimp-user mailing list

Reply via email to