[ library(format) | Reference Manual | Alphabetic Index ]

# format(+Stream, ++Format, +Args)

Print formatted data

Stream
  A stream handle or alias
Format
  Format string (string, atom, chars or codes)
Args
  A list of terms

## Description

This is a partial implementation of the format/3 predicate as implemented in several Prolog systems. It simply maps the format string to ECLiPSe's printf/3 formats, and therefore supports only those formats which are compatible.

### Modes and Determinism

- format(+, ++, +) is det

### Modules

This predicate is sensitive to its module context (tool predicate, see @/2).

## See Also

printf / 3, library(quintus)