Fore Language Guide

The Fore language used in Foresight Analytics Platform is a fully object-oriented program language. Any program written in this language is a set of interrelated logical units. Each unit contains some program code that is used to solve some kind of problems (perhaps, as a part of some other, more common problem). Splitting program code into units provides language component orientation and program code reuse.

During unit/form creation, a user often has to enter similar structures (procedures, functions, cycles, and so on) in a macro body; in general, these structures consist of the language key phrases and different names. To reduce the volume of code entered manually, the automatic structure substitution is provided in the language. The language also supports automatic replacement of all keywords of the language: keywords are typed in lower case with first capital letter and are highlighted in blue by default.

To quickly learn how to work with the language see below the articles used for studying basic language structures, their syntax and principles of use: