printf

[procedure] printf format-string obj ...

ChezScheme: formats obj ... using format, and writes the result to the current output port.

Chicken: formats objs by format-spec and writes out to the current output port. Recognizes "
", "~S", "~A", "~\n", "~B", "~O", "~X", "~C", "~~", "~!", "~?".

 

This differs to the SLIB's printf.

See also fprintf, sprintf.

[procedure] printf format arg1 ...

SLIB: formats obj ... accodording to format. The formatting specification resembles C's printf, rather than Scheme/Lisp's format. Note that Chez's printf uses different formatting specification.

See also fprintf, sprintf.