Short Integer

From the Oblivion ConstructionSet Wiki
(Redirected from Short)
Jump to navigation Jump to search

Short is an integer format that uses 16 bit for data.

The highest bit is the sign, so the variable ranges from -2^15 (-32768) to 2^15-1 (32767)

NOTE : Long ago, an OBSE developer mentioned that, internally, the engine stores ALL vars as floats. (QQuix) so it is no problem if you set short value above 32767, the maximum limit positive number is 2,147,483,647 (or hexadecimal 7FFF,FFFF16)

See Also[edit | edit source]

Long Integer
Floating Point