The table below shows the type mapping between XBase types in X#.
All types in the namespace XSharp are implemented in XSharp.VO.DLL and are only supported when NOT compiling in the Core dialect.
XBase Type |
Implemented in type |
ARRAY |
|
ARRAY OF <t> |
|
BINARY |
|
BYTE |
System.Byte |
CHAR |
System.Char |
CODEBLOCK |
XSharp.CodeBlock |
_CODEBLOCK |
XSharp._CodeBlock |
DATE |
|
CURRENCY |
|
DATETIME |
System.DateTime |
DECIMAL |
System.Decimal |
DWORD |
System.UInt32 |
DYNAMIC |
System.Dynamic |
FLOAT |
|
INT / LONG / LONGINT |
System.Int32 |
INT64 |
System.Int64 |
LOGIC |
|
OBJECT |
System.Object |
PSZ |
|
PTR |
System.IntPtr |
REAL4 |
System.Float |
REAL8 |
System.Double |
SHORT / SHORTINT |
System.Int16 |
STRING |
System.String |
SYMBOL |
|
UINT64 |
System.UInt64 |
USUAL |
|
VOID |
System.Void |
WORD |
System.UInt16 |