View unanswered posts | View active topics It is currently Mon Dec 17, 2018 5:24 am






Reply to topic  [ 4 posts ] 
New RobotC 4.x pragmas? 
Author Message
Novice

Joined: Tue Dec 11, 2012 9:19 pm
Posts: 58
Post New RobotC 4.x pragmas?
I downloaded RobotC 4.26 and notice in the documentation
that there are a couple of new pragmas.

#pragma platform
#pragma fileExtension

I looked through the included documentation and couldn't find
anything related to new pragmas. Is there a list somewhere
that describes the functionality of each new pragma?

Thanks.


Wed Sep 10, 2014 11:11 am
Profile
Rookie

Joined: Tue Aug 19, 2014 12:15 pm
Posts: 37
Post Re: New RobotC 4.x pragmas?
pragmas are defined at the following link. :biggrin:

http://help.robotc.net/WebHelpMindstorm ... g%7C_____7


Tue Sep 16, 2014 8:05 am
Profile
Novice

Joined: Tue Dec 11, 2012 9:19 pm
Posts: 58
Post Re: New RobotC 4.x pragmas?
Actually they aren't. Neither of the examples
I gave in my original message are described in
the page you referenced.

And there's a distinct difference between a
preprocessor, which processes text prior to
passing off to a compiler, and a pragma which
is a custom compiler extension not defined by
the language itself.

I want the complete list of documentation for
all of the custom compiler extensions.


Tue Sep 16, 2014 11:32 am
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 722
Post Re: New RobotC 4.x pragmas?
skatefriday wrote:
Actually they aren't. Neither of the examples
I gave in my original message are described in
the page you referenced.

...

I want the complete list of documentation for
all of the custom compiler extensions.


Currently the #pragma definitions are located in the ROBOTC source code which is unfortunately not available for public viewing. However, this is a valid request and one that, after discussing it with the dev team, we would be more than happy to add to the support documents in the future. Keep an eye out on our blog (www.robotc.net/blog) and Facebook page for information on the upcoming builds, as this will be noted in the changelog when added.

Thanks for the feedback!

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our updated help documentation and the ROBOTC Forums.


Tue Sep 16, 2014 5:00 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.