Short integer values can be positive whole numbers, negative whole numbers, and 0. These generally take less memory to store than their Long integers and are popular in representing the index of an array. This type is commonly referred to simply as an Integer.




The VBScript (short) Integer type contains an integer in the range -32,768 to 32,767.


JScript uses a generic "number" data type which corresponds to integer values as well as floating point values. There is no specific Short integer type in JScript.


See Long.


See Long.


There are a number of data types available:

  • byte: Unsigned 8-bit integer in the range 0 to 255 (System.Byte)

  • sbyte: Signed 8-bit integer in the range -128 to 127 (System.SByte)

  • char: Unicode 16-bit character in the range U+0000 to U+ffff (System.Char)

  • short: Signed 16-bit integer in the range -32,768 to 32,767 (System.Int16)

  • ushort: Unsigned 16-bit integer in the range 0 to 65,535 (System.UInt16)


Most of the time, you will probably use one of the C# types that map to Long instead of integer types. And most Softimage integer types actually map to one of the long values in C#.


See Comparing Data Types across Languages for a table that compares the short integer data type across several different languages.

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

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License