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.
Multi-file program in NXC
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Multi-file program in NXC
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 103
- Joined: 29 Sep 2010, 17:14
- Location: US
-
- Posts: 103
- Joined: 29 Sep 2010, 17:14
- Location: US
Re: Multi-file program in NXC
Things have been working great! Everything is running as expected. Thanks again.
fuzzball27 >>-->
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Multi-file program in NXC
Great to hear it, and you're welcome. What are you doing with it?
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Who is online
Users browsing this forum: No registered users and 7 guests