Byte

Parent Previous Next

Byte.

The Byte type represents a single 8 bit value.


Type Specification.

Details of the type and the supported operators:


Category

Description

Default

Standard Type

Value range: 0x00 to 0xFF  (0..255).

0x00


Category

Operators

Primary

x.y   foo(x)

Equality

==   <>

Binary


notb

andb

xorb

orb


Assignment

:=  


The binary operators may also be referred to as logical bitwise operators.


Example:


 Byte A := 0x49, B := 0x7D, C;

 C := (Notb A) Xorb B; //Now C == 0xCB;

 //Due to operator precedence, brackets are

 //actually not necessary in this example.


 //Bitwise calculation:

 //0x49 ~ 0100 1001

 //---------------- notb

 //       1011 0110

 //0x7D ~ 0111 1101

 //---------------- xorb

 //0xCB ~ 1100 1011

 //================



Standard Functions.

This chapter contains descriptions on the next pages of all the standard functions recognized by the compiler as member-functions of the Byte type.