pxt-calliope/olddocs/js/types.md

20 lines
676 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 Touch Develop for the @boardname@:
2016-03-26 00:47:20 +01:00
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
2016-11-02 01:44:37 +01:00
* **[Image](/reference/image/image)**: a collection of [@boardname@ LED states](/device/screen) (on/off)
2016-03-26 00:47:20 +01:00
* *more types coming!!!*
### see also
2016-04-13 17:27:45 +02:00
[local variables](/reference/variables/var), [global variables](/js/data), [assignment operator](/reference/variables/assign)
2016-03-26 00:47:20 +01:00