Quote: "Is this command made for adding additional files to your application?"
Certainly is.
It allows you to 'include' multiple source code files into your project.
Quote: "If so how do you use it?"
Best done with an example. Say this is your 'main' file.
#include "functions.agc"
x as integer = 10
y as integer = 20
do
print(add(x,y))
print(subtract(x,y))
print(multiply(x,y))
print(divide(x,y))
sync()
loop
Then you have this in a separate file (which we will call 'functions'):
function add( a as integer, b as integer)
answer = a + b
endfunction answer
function subtract(a as integer, b as integer)
answer = a - b
endfunction answer
function multiply( a as integer, b as integer)
answer = a * b
endfunction answer
function divide(a as float, b as float)
answer# = a / b
endfunction answer#
The #include allows the contents of the 'functions' file to be used in the 'main' file. So this will compile and run as expected.