SHORT


Standard data type: 16 bit signed

Syntax:
dim variable as Short

Description:
16-bit signed whole-number data type. Can hold values from -32768 to 32767.

Examples:
  Dim x As Short = CShort(&H8000)
  Dim y As Short = CShort(&H7FFF)
  Print "Short Range = "; x; " to "; y
Output:
Short Range = -32768 to  32767


Dialect Differences:
Differences from QB:
See also:
Back to Standard Data Types
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode