Author Topic: sprintf()  (Read 4328 times)

ronburk

  • Community Member
  • Posts: 22
  • Hero Points: 3
sprintf()
« on: September 02, 2006, 06:29:19 am »
I'm taking a stab at actually making some useful forms for a local project with Slick-C. I'm immediately struck by the pain of not being able to find a sprintf()-like function for quickly producing precisely formatted strings from a variety of variable types.

Is there any function like that around that I've just missed?

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2815
  • Hero Points: 425
Re: sprintf()
« Reply #1 on: September 22, 2006, 01:33:53 pm »
Usually there's not much of a need, since Slick-C has implicit string concatenation, but the answer to your question is nls().  Why is it named nls()?  Because snl() was already taken by a popular telivision series.  :P