hard-coding binary constants

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: hard-coding binary constants

Post by mattallen37 »

@John Sounds great, I'm anxiously awaiting :D

@doc-helmut You can't start a #define d literal with a numeric character, otherwise I would have added it to a header file.

@spillerrec Yeah, I didn't know if it was official with C/C++, but I know that many compilers do support it, and I wanted the NXC compiler to.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: hard-coding binary constants

Post by afanofosc »

You can grab a new test release from http://bricxcc.sourceforge.net/test_releases/

I have also implemented a bracket highlighting feature to complement the existing "find matching bracket" ctrl+shift+B command. It works a lot like Visual Studio, though only {}, (), and [] are highlighted. The highlighting feature can be configured via the Editor|Options and Editor|Colors tabs in the Preferences dialog.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests