Use
of 'print' block
1.
The 'print' block in TurtleBlocks can be selected from 'Extra:
Palette of extra options.'
The 'print' block prints value in the status bar at the bottom of the
screen.
2.
After adding 'print'
to the
'start' block
on the screen, select
'text' block
from 'Palette of
media objects '
This
'text'
block allows to add text that will appear at the bottom of the
screen
when the Turtle is commanded to 'print' value on the screen. Apart
from text, values
like
'width,' 'height,' etc.
can also be added to be printed on the screen. For that, all you have
to
do is replace 'text'
block
with
'width,' 'height,' etc.
blocks.
3.
The status bar at the bottom of the screen shows the value added to
the
'text' block.
No comments:
Post a Comment