Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] positional specifiers in format strings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Hendrik Tews <H.Tews@c...>
Subject: Re: [Caml-list] positional specifiers in format strings
"David Allsopp" <dra-news@metastack.com> writes:

   >	    Objective Caml version 3.10.0
   >
   >    # Printf.printf "%5$f";;
   >    Bad conversion %$, at char number 0 in format string ``%5$f''
   >    # Printf.printf "%.*3$f";;
   >    Bad conversion %3, at char number 0 in format string ``%.*3$f''

   Positional specifiers aren't new and, sadly, neither's the bug -
   http://caml.inria.fr/mantis/view.php?id=4204

That's another point where the txt and html documentations
diverge: positional specifiers are only in the 3.09 html
documentation, but not in the txt version. That's why they got
classified as new.

Hendrik