Hi Joachim, On 21/08/2014, at 13:48, Joachim Schimpf <jschimpf_at_coninfer.com> wrote: > On 21/08/2014 13:21, Paulo Moura wrote: >> Hi, >> >> Is it possible to use ECLiPSe format/2 predicate to print a table with right-justified columns? >> The original Quintus Prolog implementation of this predicate provide format control sequences to >> set and align with tab stops but this seems to not be implemented in ECLiPSe. Is there any >> alternative usage of the format/2 predicate that I'm missing? > > > As noted in http://www.eclipseclp.org/doc/bips/lib/format/format-3.html, the lib(format) > implementation is a wrapper for ECLiPSe's printf. Here is a more detailed comparison: > ... I also accessed this documentation before posting on the mailing list. But I was still hoping for some lifesaver trick based on the printf predicate. > This is a far as this approach goes, I'm not planning to implement the acrobatics necessary for tty > column printing (tables are much easier with html output). That said, I'm hoping for a > Prolog-level implementation of a completely compatible format/3 from Prolog Commons. You're an optimist :-) Cheers, Paulo ----------------------------------------------------------------- Paulo Moura Logtalk developer Email: <mailto:pmoura_at_logtalk.org> Web: <http://logtalk.org/> -----------------------------------------------------------------Received on Thu Aug 21 2014 - 13:12:27 CEST
This archive was generated by hypermail 2.2.0 : Thu Dec 04 2014 - 01:16:36 CET