A.29 library(writef): Old-style formatted write
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(writef): Old-style formatted write
          • writef/1
          • writef/2
          • swritef/2
          • swritef/3
    • Packages
Availability::- use_module(library(writef)).(can be autoloaded)
Source[det]swritef(-String, +Format)
[det]swritef(-String, +Format, +Arguments)
Use writef/1 or writef/2 and write the result to a string. Note that this is a string in the sense of string_codes/2, not a list of character(-code)s.
deprecated
. See format/2,3 and/or with_output_to/2.