the Application Programming Interface (API)

See also: Exploring the API with Excel,  The Script Editor

LEAP can act as a standard "COM Automation Server," meaning that other Windows programs can control LEAP directly: changing data values, calculating results, and exporting them to Excel or other applications.  The API even provides functions for examining or changing LEAP's data structures  This ability to program LEAP can be very powerful. For example, you could write a short script that could run LEAP calculations many times, each time with a different set of input assumption.  LEAP's results could then be output to Excel or processed in the script and used to calculate revised assumptions for subsequent LEAP calculations.  In this way LEAP's basic accounting calculations could be coupled with more sophisticated algorithms such as goal-seeking or optimizing algorithms.

The LEAP Application Programming Interface (API) consists of several "classes," each with their own "properties" and "methods." Properties are values that can be inspected or changed, whereas methods are functions can be called do something.

The following classes are defined in LEAP's API:

LEAP has its own built-in script editor that can be used to edit, interactively debug and run scripts that automate LEAP using its API.  LEAP uses Microsoft's Windows Script (aka ActiveScript) technology and directly supports scripts written in VBScript.  Some other web-based resources you may find useful: