Main Page | See live article | Alphabetical index

Formula Language

The Formula language is a scripting language used by Lotus Notes.
It is often referred to as @Formula language (pronounced at-formula) because many language elements start with the @-character.

The Formula language is not a full programming language: it lacks looping constructs and there is only one function for conditional execution. However, Formula language is very good at the manipulation of strings and lists (arrays) of strings.
Note: in version 6 of Lotus Notes the Formula language has been extended to include looping and additional conditional statements.

The Formula language has two parts:

@Functions can be used in several places throughout Lotus Notes. The most important uses are: @Commands are like menu commands: they perform actions in the Lotus Notes client. Examples of actions are: @Commands are mainly used in buttons and the like. It is possible to combine them with @Functions, for example the command only executes if a field contains a predefined value.