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)
      (begin
        (begin
          (display (- (cadr   bounds) x) p)
          (display "," p)
          (display (- (cadddr bounds) x) p)
          )
        )
      )

More information about handling Scheme's I/O is available at:
   http://www.schemers.org/Documents/Standards/R5RS/HTML



_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to