sprintf ( format-string -- quot ) - Factor Documentation

sprintf ( format-string -- quot )
Formatted printing



Vocabulary
formatting

Inputs
format-string a string


Outputs
None

Word description
Returns the arguments (specified on the stack) formatted according to the format string as a result string.

See also
printf

Definition
USING: formatting.private kernel sequences.generalizations ;

IN: formatting

MACRO: sprintf ( format-string -- quot )
printf-quot [ "" nappend-as ] curry compose ;

AltStyle によって変換されたページ (->オリジナル) /