Subroutine Keywords
A subroutine is a section of code that stands alone, and can be called from anywhere else in the program. The primary method of incorporating subroutines in NetLinx programming is via the DEFINE_FUNCTION keyword.
Note
NetLinx also supports the primary method of incorporating subroutines in Axcess programming - the DEFINE_CALL keyword. DEFINE_FUNCTION differs from DEFINE_CALL by allowing values to be returned using the RETURN statement.
See Also