Not eXactly C

Not eXactly C

Not eXactly C, or NXC, is a high-level programming language for the Lego Mindstorms NXT. NXC, which is short for Not eXactly C, is based on Next Byte Codes, an assembly language. NXC has a syntax like C. The IDE for NXC is the Bricx Command Center.

The NXC compiler is available under the Mozilla Public License. [1] A sample code is as shown below:

task main() //sets a new task. main() is compulsory
{
     OnFwd(OUT_BC,75); //ask the motors connected to ports B and C to move forward at a power of 75.
     Wait(5000); //wait for 5 seconds (note that 1000 = 1 second)
     Off(OUT_BC); //off the motors connected to ports B and C
}

See also

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Not eXactly C — Influencé par C Système d exploitation firmware NXT Mindstorm Site web …   Wikipédia en Français

  • not exactly — BY NO MEANS, not at all, in no way, certainly not; not really. → exactly * * * informal 1) not at all that was not exactly convincing 2) not quite but close to being not exactly agitated, but disturbed * * * not exactly informal 1 used in speech …   Useful english dictionary

  • not exactly — spoken 1) used for saying that something is slightly different from a particular thing It s not exactly a novel, more an extended short story. 2) used for saying that something that someone says is not completely right You re leaving, aren t you? …   English dictionary

  • not exactly — I m not exactly a spring chicken Syn: by no means, not at all, in no way, certainly not; not really …   Thesaurus of popular words

  • not the sharpest knife in the drawer — not the sharpest knife in the ˈdrawer | not the sharpest tool in the ˈbox idiom (informal, humorous) not intelligent • He s not exactly the sharpest knife in the drawer, is he? Main entry: ↑sharp …   Useful english dictionary

  • not the sharpest tool in the box — not the sharpest knife in the ˈdrawer | not the sharpest tool in the ˈbox idiom (informal, humorous) not intelligent • He s not exactly the sharpest knife in the drawer, is he? Main entry: ↑sharp …   Useful english dictionary

  • not be a barrel of laughs — (not) be a barrel of laughs informal to not be enjoyable. He s a bit serious, isn t he? Yeah, not exactly a barrel of laughs …   New idioms dictionary

  • not necessarily — not certainly, actually no, not exactly …   English contemporary dictionary

  • not really — not exactly, not necessarily …   English contemporary dictionary

  • not be backward in coming forward — (not) be backward in coming forward British & Australian, humorous to be confident and always ready to express an opinion. If he doesn t like it, he ll tell you. He s not exactly backward in coming forward …   New idioms dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”