Page 2 of 2

Re: Multi-file program in NXC

Posted: 13 Nov 2011, 19:22
by mattallen37
I comment out the main task once I know that the library compiles fine, and then I #include it into the program I want to use it in.

Edit: make sure you save it before you try to #include it in a program. It will only #include the latest saved file.

Re: Multi-file program in NXC

Posted: 14 Nov 2011, 14:39
by fuzzball27
Thanks for the help! I'll give it a shot today.

Re: Multi-file program in NXC

Posted: 16 Nov 2011, 13:42
by fuzzball27
Things have been working great! Everything is running as expected. Thanks again.

Re: Multi-file program in NXC

Posted: 16 Nov 2011, 17:47
by mattallen37
Great to hear it, and you're welcome. What are you doing with it?