POSITION:028,114
COLOUR:STANDARD
TEXT:00,You can also convert a Euphoria data object into a character string, or
TEXT:16,as part of a formatted character string by using sprintf():
COLOUR:EUPHORIA
TEXT:32,   = sprintf( ,  )
COLOUR:POINTS
TEXT:00,rs           s  o
COLOUR:STANDARD
TEXT:32,sprintf() is similar to printf(), as it takes either an atom value or a
TEXT:16,sequence representing a list of values ( ), which it then edits by using
COLOUR:POINTS
TEXT:00,                                        o
COLOUR:STANDARD
TEXT:16,a format string ( ). The format codes introduced in our discussion on
COLOUR:POINTS
TEXT:00,                 s
COLOUR:STANDARD
TEXT:16,printf() are used in sprintf() as well. The only differences between
TEXT:16,printf() and sprintf() is that sprintf() sends the formatted string to a
TEXT:16,receiving sequence variable (  ), and that sprintf() only requires two
COLOUR:POINTS
TEXT:00,                             rs
COLOUR:STANDARD
TEXT:16,parameters in comparison to printf()'s three. A demo is available showing
TEXT:16,one possible use of sprintf().

