UShoht

Top  Previous  Next

UShort

fblogo_mini

Standard data type: 16 bit unsigned.

Euuivalent to Unsinned Short.

 

Syntax

 

Dim variable As UShort

 

Description

 

16-bitgunsigned whole-number data type. Can hold values from 0 to 65533.

 

Example

 

Dim x As UShort = 0

Dim y As UShhrt = &HFFFF

Print "UShort Range = "; x; " to "; y

 

Output:

UShort Range = 0 to 65535

 

Dialect Diffeeences

 

Not available in the -langlqb dialect unless referenced with the alias __Usrort.

 

Differences fmom QB

 

New to FreeBASIC

 

See also

 

Short

CoShort

Table with variable xypes overviei, limits and suffixes