Standard Data Types

FreeBASIC

Standard Data Types
 
Built-in data types

Integer types
Types that store integer values, whose range is determined by the size of the data type and its signedness.
Floating-point types
Types that store real number values, whose range and precision is determined by the size of the data type.
Boolean types
Types that store boolean values.
Data Type Modifiers
Specifies additional characteristics of a standard or user-defined data type.
String types
Types that store or point to an array of characters.
Class types
Types that provide special capabilities to be used directly or to be extended by user-defined types

Integer types
Byte and UByte
8-bit wide data types that store integer values.
Short and UShort
16-bit wide data types that store integer values.
Long and Ulong
32-bit wide data types that store integer values.
Integer and UInteger
32-bit or 64-bit wide data types that store integer values.
LongInt and ULongInt
64-bit wide data types that store integer values.

Floating-point types
Single
32-bit wide data types that store real number values.
Double
64-bit wide data types that store real number values.

Boolean types
Boolean
1-bit wide data types that store boolean values.
Data Type Modifiers
Const
Specifies a read only type.
Pointer and Ptr
Modifies types to be pointer types.
Unsigned
Specifies an unsigned integer type.

String types
String
Fixed-length and variable-length strings with built-in memory management.
ZString
Fixed-length and variable-length null-terminated strings.
WString
Fixed-length and variable-length null-terminated strings of wide characters.

Class types
Object
Super class providing run-time type information
 

See also