Comparative Data Types Visual Basic 6

Visual Basic Data Types

Type

Format

PowerBASIC

Boolean

signed 16-bit

INTEGER

Byte

unsigned 8-bit

BYTE

Const

numeric constant

{Equate} (2)

Currency

8-byte fixed point

CURRENCY

Double

8-byte float

DOUBLE

Integer

signed 16-bit

INTEGER

Long

signed 32-bit

LONG

Single

4-byte float

SINGLE

String

dynamic string

STRING

String * n

fixed-length string

STRING * n

Variant

data-dependent

VARIANT