ROBOTC.net forums
http://www.robotc.net/forums/

RobotC 3.51 Bug #1 - Escape (backslash) character handling
http://www.robotc.net/forums/viewtopic.php?f=63&t=4920
Page 1 of 1

Author:  nateww [ Sat Sep 29, 2012 1:03 pm ]
Post subject:  RobotC 3.51 Bug #1 - Escape (backslash) character handling

Code:
char *bkslash = "\\";

task main()
{
   nxtDisplayString(1, "%s", buffer);
   wait10Msec(500);   
}

The above will compile, but will display '\\' on the screen. However, I want to show '\' on the screen, and if I don't escape the backslash, I get a compile error.

Author:  tfriez [ Wed Oct 10, 2012 1:05 pm ]
Post subject:  Re: RobotC 3.51 Bug #1 - Escape (backslash) character handli

This issue is currently fixed in our internal 3.52 (and private Betas) for the real NXT. An issue with displaying the backslash may exist using the emulator/virtual worlds engine, however.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/