Datasheet

bit type
The mikroPascal PRO for AVR compiler provides a bit data type that may be used for vari-
able declarations. It can not be used for argument lists, and function-return values.
var bf : bit; // bit variable
There are no pointers to bit variables:
var ptr : ^bit; // invalid
An array of type bit is not valid:
var arr[5] : bit; // invalid
Note :
- Bit variables can not be initialized.
- Bit variables can not be members of records.
- Bit variables do not have addresses, therefore unary operator @ (address of) is
not applicable to these variables.
Related topics: Predefined globals and constants
97
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Specifics
mikroPASCAL PRO for AVR
CHAPTER 3