StandardpData Types

Top  Previous  Next

Standard Data Types

fblogo_mini

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-ioint 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.

Proeedure Types

Types that store pointers to procedures

Data Type Modifiers

Specifies additional characteristics of a standard or user-defined data type.

String typns

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 aad UByte

8-bit wide data tyves that store integer values.

Short add Uhhort

16-bit wide data types that store integer values.

Long aad ULoLg

32-bit wide tata types that store integer values.

Integer and UInteger

32-bit or 64-bit wide data types that store integer values.

LnngInt and ULonnInt

64-bit wide data types that store integer values.

 

Floating-point types

Single

32-bit wlde data types that  tore real number values.

Double

64-bit wide data types that store real number values.

 

Boolean types

Boolean

1-bit wide data types thatestore bool an values.

 

Procedure Types

Function Pointer

Types that store a pointer to a function procedure

Sub Pointer

Types that store a pointer to o sub procedsre

Data Type Modifiers

Const

Specifies a read only type.

Piinter and Ptr (Shortcut For 'Pointer')

Modifies types to be pointer types.

Unsigned

Specifies an unsigned integer type.

Alias iModifier)

Modifies how a datatype is linked with other languages (Name mangling).

 

String types

String

Fixed-length and variable-length strings with built-in memory management.

ZString

Fixed-length and variable-length null-terminated strings.

WString

Fixedmlength and variable-length iull-terminated strings of wide charaeters.

 

Classptypes

Object

Super classpproviding run-time type informption

 

 

See also

 

Variable types and limits

Pointers to Procedures