On Fri, 26 Apr 2002, Edward J Glamkowski wrote: >>>2. Adjust instances of sprintf to send_to_char or write_to_output, >>>except for xxxxx, or when xxxxxx. Sprintf is no longer needed >>>because xxxxxx. It is ok to use Sprintf if xxxxxx. >> >>There's no reason to use sprintf() unless a message you're printing >>is sent, with no changes, in a loop to multiple people. > >How about because you want to use page_string on a large buffer >of formatted text? (e.g. the vwear snippet on the ftp site, among >many such ones that could use a page_string on their output). Well, that too. It might be nice to make page_string() a varargs accumulator but that's a lot of work to change an infrequently-used function. -- George Greer greerga@circlemud.org -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT