pxt-calliope/olddocs/js/types.md
2016-04-15 14:37:25 -07:00

20 lines
676 B
Markdown

# types
Touch Develop types.
### @parent language
A *type* refers to a class of data and the operations permitted on that data. The following types are supported by Touch Develop for the BBC micro:bit:
* **[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](/reference/image/image)**: a collection of [micro:bit LED states](/device/screen) (on/off)
* *more types coming!!!*
### see also
[local variables](/reference/variables/var), [global variables](/js/data), [assignment operator](/reference/variables/assign)