Bruno Haible <[EMAIL PROTECTED]> writes:
>
>   - messages can be marked as "scheme-format", denoting 'format' strings.

I noticed a couple of forms that provoke errors,

        (format #f (gettext "~/"))
        (format #f (gettext "~q"))
        (format #f (gettext "~8,2i") 1+2i)
        (format #f (gettext "~65c"))
        (format #f (gettext "~4,3,'-t"))
        (format #f (gettext "~k") "fmtstr")

~q is a copyright message
~/ is a tab character (like ~| etc)
~i is complex number fixed-point (up to 5 params)
~c accepts a charnum param
~t accepts a pad char param
~k is an alias for ~?

Nosing around format-scheme.c (if that's the right code) I noticed ~!
described as a clisp call, in format.scm ~! is an output flush (no
parameters or args), though it doesn't seem to cause an error.

I added a bit to "Formatted Output" in the guile cvs reference manual
based on my understanding of what format.scm is supposed to do.
There's only a few differences from CL.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to