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