18 lines
706 B
Markdown
18 lines
706 B
Markdown
|
# types
|
||
|
|
||
|
Touch Develop types #docs #variables #var #types #data
|
||
|
|
||
|
### @parent language
|
||
|
|
||
|
A *type* refers to a class of data and the operations permitted on that data. The following types are supported by Block Editor for the BBC micro:bit:
|
||
|
|
||
|
* **[String](/microbit/reference/types/string)**: a sequence of characters
|
||
|
* **[Number](/microbit/reference/types/number)**: an integer number (32-bit signed)
|
||
|
* **[Boolean](/microbit/reference/types/boolean)**: true or false
|
||
|
* **[Image](/microbit/blocks/image)**: a collection of [micro:bit LED states](/microbit/device/screen) (on/off)
|
||
|
|
||
|
### see also
|
||
|
|
||
|
[local variables](/microbit/reference/variables/var), [assignment operator](/microbit/reference/variables/assign)
|
||
|
|