Documentation Prolog Predicate Reference format format_/4

format_/4

Describe a formatted string.

Description

format( +term, :arguments, ?list, ?list )

phrase(format_(FormatString, Arguments), Ls) describes a list of characters Ls that are formatted according to FormatString. FormatString is a string (i.e., a list of characters) that specifies the layout of Ls. The characters in FormatString are used literally, except for the following tokens with special meaning:

Implementation