Skip to content

DataTypes C vs PB

Tristano Ajmone edited this page Aug 2, 2021 · 1 revision

Comparison of C and PureBasic native integers types.



Data Types Correspondence Table

The following table only lists PB types which are size-equivalent on both x64 and x32.

C type PB aka bytes values range

unsigned char

.a

u8

1

0

+255

unsigned short int

.u

u16

2

0

+65,535

unsigned int

n/a

u32

4

0

+4,294,967,295

signed char

.b

i8

2

-128

+127

short

.w

i16

4

-32,768

+32,767

Clone this wiki locally