pxt-calliope/docs/reference/types.md

18 lines
672 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# types
2016-04-02 01:22:47 +02:00
Touch Develop types.
2016-03-26 00:47:20 +01:00
### @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)