DefineFunction method

Adds a macro to the IntelliCAD command list. It is similar to (defun c:cmd) in LISP.

Syntax

Sub DefineFunction(FunctionName, FunctionPointer)

Where:

     FunctionName is a string variable representing the name of the macro.

     FunctionPointer is the address of the function to be called.