Author Topic: Minor documentation error in Webbotlib with rprintf...  (Read 782 times)

0 Members and 1 Guest are viewing this topic.

Offline KurtEckTopic starter

  • Robot Overlord
  • ****
  • Posts: 217
  • Helpful? 12
Minor documentation error in Webbotlib with rprintf...
« on: November 12, 2010, 12:22:24 PM »
Hardly worth mentioning other than I wasted a few minutes figuring out my lines like:
rprintf("%2x", mybyte);
was outputting %2x instead of 2 hex digits...

I followed the information in the PDF(build 27):
Quote
If you have declared PRINTF_COMPLEX then it will include some additional code which
allows: %d, %ld, %u, %lu, %o, %x, %c and %s as well as the width, precision and
padding modifiers from the C specification. Here are some examples:-

Should have been: RPRINTF_COMPLEX

Kurt

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,121
  • Helpful? 108
Re: Minor documentation error in Webbotlib with rprintf...
« Reply #1 on: November 12, 2010, 02:11:58 PM »
Thanks - will fix.

Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

 


Get Your Ad Here

data_list