Softimage SDK Programmer's Guide > Script Development > Data Types and Return Values > What is 'Type'? >

# Comparing Data Types across Languages

The following table compares various data types across the various languages supported in Softimage. For more information about each data type you can click on the links in the Type column.

Type | VBScript | JScript | PerlScript | Python | siVariantType enum value | C# | C++ | Description
--- | --- | --- | --- | --- | --- | --- | --- | ---
Integer | -- | -- | -- | -- | siByte | sbyte (System.SByte) | signed char | 1-byte signed integer
Byte | -- | -- | -- | siUByte | byte (System.Byte) | unsigned char | 1-byte unsigned integer
-- | -- | -- | -- | -- | char (System.Char) | unsigned char | 2-byte Unicode character
Integer | number | -- | -- | siInt2 | short (System.Int16) | short | 2-byte signed integer
-- | -- | -- | -- | siUInt2 | ushort (System.UInt16) | unsigned short | 2-byte unsigned integer
Long | Long | number | -- | int | siInt4 | int (System.Int32) | long | 4-byte signed long integer
-- | -- | -- | -- | siUInt4 | uint (System.UInt32) | unsigned int | 4-byte unsigned integer
-- | -- | -- | -- | -- | long (System.Int64) | __int64 | 8-byte signed integer
-- | -- | -- | -- | -- | ulong (System.UInt64) | unsigned __int64 | 8-byte unsigned integer
Float | Single | number | -- | float | siFloat | float (System.Single) | float | 4-byte single floating-point number
Double | Double | number | -- | -- | siDouble | double (System.Double) | double | 8-byte double floating-point number
String | String | String | -- | string | siString | string (System.String) | XSI::CString | string
Boolean | Boolean | Boolean | -- | (int) | siBool | bool (System.Boolean) | bool | Boolean
Variant | (Variant) | (Undefined) | (Scalar) | (implicit conversion) | n/a | object (System.Object) | XSI::CValue | A union of data types with associated functions for creating, deleting, copying, accessing and manipulating.
-- | Object | -- | -- | -- | siDispatch | -- | -- | IDispatch interface pointer
Array | Array | (use VBArray instead of Array) | (array) | (list or tuple) | -- | System.Array | XSI::CValueArray | SAFEARRAY or sequence of data

Tip

For high-level information about how these languages approach data type in general, see one of the following topics:

- Type in VBScript

- Type in JScript

- Type in PerlScript

- Type in Python

- Type in C++ (Comparison)

- Type in C# (Comparison)