pxt-calliope/docs/reference/types.md

18 lines
609 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:
2016-04-13 17:27:45 +02:00
* **[String](/reference/types/string)**: a sequence of characters
* **[Number](/reference/types/number)**: an integer number (32-bit signed)
* **[Boolean](/reference/types/boolean)**: true or false
* **[Image](/blocks/image)**: a collection of [micro:bit LED states](/device/screen) (on/off)
2016-03-26 00:47:20 +01:00
### see also
2016-04-13 17:27:45 +02:00
[local variables](/reference/variables/var), [assignment operator](/reference/variables/assign)
2016-03-26 00:47:20 +01:00