Custom Functions > Function Definitions > About Function Definitions
  
About Function Definitions
Each custom function that you write must conform to certain function definitions.
The mcadincl.h file, located in the Custom Functions folder of your PTC Mathcad installation directory, contains the following functions that allow you to define custom functions that PTC Mathcad can read:
Functions
CreateUserFunction
CreateUserErrorMessageTable
isUserInterrupted
LRESULT
MathcadAllocate
MathcadFree
MathcadArrayAllocate
MathcadArrayFree
MAKELRESULT