unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Guile1.9.14 formatted output
@ 2011-01-10 11:56 Fu-gangqiang
  2011-01-26 19:14 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Fu-gangqiang @ 2011-01-10 11:56 UTC (permalink / raw)
  To: Guile bug

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

Hi,all
my guile1.9.14 output like this:
when I studied the format procedure following the mannual:
====== mannual start=====
~f 

If overflowchar and width are both given and if the output would exceed width, then that many overflowchars are printed instead of the value.

               (format #t "~5,,,'xf" 12345) -| 12345
               (format #t "~4,,,'xf" 12345) -| xxxx           <- bug
====== mannual end=====
but i got like this:
====== repl start=====
scheme@(guile-user)> (format #f "~5,,,'xf" 12345)
"xxxxx"
scheme@(guile-user)> (format #f "~6,,,'xf" 12345)
"12345."
====== repl end=====

[-- Attachment #2: Type: text/html, Size: 5455 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-26 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 11:56 Guile1.9.14 formatted output Fu-gangqiang
2011-01-26 19:14 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).