Advantages of Object Files

Advantages of object files include:

Since an object file cannot be run directly:

Here’s a simple example of how you might distribute object files so that others cannot see the code.

In file, place the definition of a function called TestFunction. When you save the file, the entire include file is compiled into test.ino.

TestFunction ()
		   ListPrint (Desktop.GetActive ())

In the file test.t use the include file. Silk Test Classic will load the .ino equivalent. Call TestFunction, which was defined in the include file.

use ""

		main ()
		TestFunction () // call the function

Distribute test.t and test.ino. Users can open test.t and run it but do not have access to the actual routine, which resides only in compiled form in test.ino.