Navigation: Clarion.Net (Clarion#) >====== Clarion Sharp Language Extension ====== | ![]() ![]() ![]() |
The following topics in this section describes the Clarion# language extension and its syntax.
Clarion# is a superset of the Clarion Language, with the exception of those statements that involve DMA (direct memory access). In addition, statements in the Clarion language that support Win32 WINDOW structures are not applicable.
Many of the statements described in this document emulate the standard .NET conventions found on the Microsoft .NET developer's web site, and parallel to a great extent their intended use.
This document focuses on the syntax unique to Clarion# statements.
Compiler Directives:
Simple Data Types:
CLADECIMAL (.NET signed packed decimal)
CLALONG (four-byte signed integer)
CLASTRING (.NET fixed-length string)
CLAULONG (four-byte unsigned integer)
Complex Data Types:
Special Data Types:
Variable and Entity Attributes:
INTERNAL (CLASS method assembly accessible)
PUBLIC (set variable public to all CLASS modules)
Operators:
New, modified, and deprecated Expression Operators.
TYPEOF (Get System.Type object)
CLASS attributes
NETCLASS (suppress generation of Clarion-specific CLASS code)
PARTIAL (defines a partial class)
PROPERTY (class specific private property)
CLASS Keyword
INLINE (embed source code in a CLASS)
GETTER, SETTER, GETONLY, SETONLY ' See PROPERTY and INLINE
Control Structures
FOREACH (arrayed looping construct)
Exception Handling
FINALLY(exception handling clean up)
Runtime Expression Evaluation
CHECKED (enable overflow checking)
UNCHECKED (suppress overflow checking)
Built-in Procedures
PARAMS (specify variable method parameters)
REF( parameter passed by reference)
SYNCLOCK (synchronize expression)
Clarion# Runtime Properties