Including custom Libraries

From ROBOTC API Guide
Jump to: navigation, search
General ProgrammingProgramming Tips Tricks → Including custom Libraries


If you have included your own library of functions, for example:

#include "motorLib.c"

You can suppress warnings about unused functions by including the line:

#pragma systemFile            // eliminates warning for "unreferenced" functions

in the top of that file.


This tip was posted by jpearman over at http://www.vexforum.com/showpost.php?p=220744&postcount=1.