User Tools

Site Tools


clarion_net_data_type_comparison_chart.htm
Navigation:  Clarion.Net (Clarion#) > Clarion# Language Extensions >====== Clarion# Data Type Comparison Chart ====== Previous pageReturn to chapter overviewNext page

The following chart is presented to help you to quickly view the differences in data types between Clarion Win32 and Clarion# applications:

Clarion Type C# type //IL Name** | **Suffix** | **CLR?** | **Comment//**
BOOL bool bool U1 yes new for Clarion#
CHAR char wchar U2 yes new for Clarion#
SREAL(float) float float32 r4 yes
REAL(double) double float64
yes
SHORT short int16
yes
SIGNED int int32
yes
LONG long int64
yes Use CLALONG for Win32 equivalent
BYTE byte unsigned int8
no
USHORT ushort unsigned int16
no
UNSIGNED uint unsigned int32
no
ULONG ulong unsigned int64
no Use CLAULONG for Win32 equivalent
DECIMAL(replaced with ClaDecimal)



Implemented as new dedicated class: ClaDecimal
STRING(replaced with ClaString)



Implemented as new dedicated class ClaString. All STRING variables should be changed to CLASTRING in your Clarion code
Auxiliary Data Types






BFLOAT4




BFLOAT8




CSTRING




DATE




PDECIMAL




PSTRING




TIME




**IL Name refers to the Intermediate Language name. When a Clarion.NET program is compiled, the output of the compiler is not an executable file but a file that contains a special type of code called the Microsoft Intermediate Language (MSIL). This MSIL is a low-level language which is designed to be read and understood by the .NET common language runtime (CLR). Because all .NET executables exist as IL, they can freely operate together.

clarion_net_data_type_comparison_chart.htm.txt · Last modified: by 127.0.0.1