Variables

Here are the simple variable types supported on Tibbo's Ubuntu-based distribution for the Size 3 Linux Tibbo Project PCB (LTPP3), Gen. 2.

Tibbo BASIC

Tibbo C

Range

Space in memory

char

[signed] char

–128 to 127

1 byte

byte

unsigned char

0 to 255

1 byte

short or integer

[signed] short or [signed] int*

–32768 to 32767

2 bytes

word

unsigned short or unsigned int

0 to 65535

2 bytes

long

[signed] long

–2147483648 to 2147483647

4 bytes

dword

unsigned long

0 to 4294967295

4 bytes

real or float

float

±1.175494E-38 to ±3.402823E+38

(IEEE floating point format)

4 bytes

string

string

up to 255 byte characters

2 bytes + capacity

boolean

bool

True or False

1 byte

* KB