]> Repositorios git - scryer-prolog.git/commit
ENHANCED: If N is omitted in ~Nr or ~NR, it defaults to 8.
authorMarkus Triska <[email protected]>
Sat, 14 Aug 2021 11:48:21 +0000 (13:48 +0200)
committerMarkus Triska <[email protected]>
Sat, 14 Aug 2021 11:48:21 +0000 (13:48 +0200)
commit78c2f19e72ea890ff44cdaaac1c9209a39345063
tree93e739cc15c170a356643ebe60e993a1f3c4c00c
parent9a66a626f7147bb63e0305515d1be03b0f3cacdc
ENHANCED: If N is omitted in ~Nr or ~NR, it defaults to 8.

This is for compatibility with Quintus, SICStus and GNU Prolog,
addressing #1024.

Example:

    ?- format("~r", [10]).
    %@ 12   true.
src/lib/format.pl