There are two different mechanisms for users to supply functions for use in expressions. One is user-defined macros, which provide a short-hand for long or complex expressions that would otherwise have to be used repeatedly in expressions. The other is user-defined external procedures, written in a programming language such as Tcl or C++.
User-supplied function declarations and definitions should be put in files in the Functions directory in Simile's local data tree. This tree is created automatically when you first run Simile. Its location is:
Declarations and definitions in the Functions directory in Simile's installation tree (e.g., "Program files/Simile54") are for functions treated as "Built-In", i.e., expected to be available in any Simile system. It is worth looking at these for guidance in writing your own functions, as the formats are the same.
In: Contents >> Working with equations