pxt-ev3/docs/reference/brick/show-number.md
Galen Nickel 822227eb48 Brick ref topics 02 (#283)
* Add brick button topics

* Add the rest of the brick api
2018-01-30 20:58:18 -08:00

507 B

show Number

Show a number on the screen at the line you select.

brick.showNumber(0, 1);

Parameters

  • value: a number to show on the brick's screen.
  • line: The line number on the screen where the value is displayed. The line numbers for the screen start with line 1.

Example

Show the number 1000 on the screen.

brick.showNumber(1000, 1);

See also

show string, show value