Fore.NET is a simple, modern, object-oriented, and type-safe programming language.
Unlike the Fore language based on using COM technologies, the Fore.NET language uses the Microsoft.NET Framework 2.0 platform. The main innovations in the language are caused by the requirements and features of this platform:
An enlarged set of standard types: Byte, Short, Long + their unsigned versions.
Using generic types.
Partial types.
Code-associated metadata and attributes.
A modified mechanism of virtual methods and their overriding.
Group delegates.
The Using statement.
An optional statement of a name in the end of a syntax structure (class, method or property) declaration.
The principle of static fields work is changed. Unlike the Fore language, static fields are available within an application domain and do not depend on the number of repository connections.
In general, the Fore.NET language is backward-compatible with the syntax and semantic of the Fore language. The Fore.NET language does not support the following structures of the Fore language:
The ComImport statement.
The With statement.
The Dispose statement (a standard call of System.Runtime.InteropServices.Marshal.ReleaseComObject is available).
Matrix operations.
Nested procedures and functions.
Named parameters for calling procedures and functions, default values for parameters.
The Default modifier for class properties.
Syntax of properties descriptions in interface declarations.
If the source text contains these structures, a compilation error is thrown.
See also: