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 |
Python |
siVariantType enum value |
C# |
C++ |
Description |
---|---|---|---|---|---|---|---|
-- |
-- |
-- |
sbyte (System.SByte) |
signed char |
1-byte signed integer |
||
Byte |
-- |
-- |
byte (System.Byte) |
unsigned char |
1-byte unsigned integer |
||
-- |
-- |
-- |
-- |
char (System.Char) |
unsigned char |
2-byte Unicode character |
|
Integer |
number |
-- |
short (System.Int16) |
short |
2-byte signed integer |
||
-- |
-- |
-- |
ushort (System.UInt16) |
unsigned short |
2-byte unsigned integer |
||
Long |
number |
int |
int (System.Int32) |
long |
4-byte signed long integer |
||
-- |
-- |
-- |
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 |
|
Single |
number |
float |
float (System.Single) |
float |
4-byte single floating-point number |
||
Double |
number |
-- |
double (System.Double) |
double |
8-byte double floating-point number |
||
String |
String |
string |
string (System.String) |
XSI::CString |
string |
||
Boolean |
Boolean |
(int) |
bool (System.Boolean) |
bool |
Boolean |
||
(Variant) |
(Undefined) |
(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 |
-- |
-- |
-- |
-- |
IDispatch interface pointer |
|
Array |
(use VBArray instead of Array) |
(list or tuple) |
-- |
System.Array |
XSI::CValueArray |
SAFEARRAY or sequence of data |
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License