Mikroelektronika MIKROE-350 Fiche De Données
TYPES
Basic is strictly typed language, which means that every variable and constant need
to have a strictly defined type, known at the time of compilation.
to have a strictly defined type, known at the time of compilation.
The type serves:
- to determine correct memory allocation required,
- to interpret the bit patterns found in the object during subsequent accesses,
- in many type-checking situations, to ensure that illegal assignments are trapped.
- to interpret the bit patterns found in the object during subsequent accesses,
- in many type-checking situations, to ensure that illegal assignments are trapped.
mikroBasic PRO supports many standard (predefined) and user-defined data types,
including signed and unsigned integers of various sizes, arrays, strings, pointers
and structures.
including signed and unsigned integers of various sizes, arrays, strings, pointers
and structures.
Type Categories
Types can be divided into:
- simple types
- arrays
- strings
- pointers
- structures
- arrays
- strings
- pointers
- structures
136
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Language Reference
mikroBasic PRO for AVR
CHAPTER 5