Write the following:
:x = INPUT "Length?"
FORWARD 50
FORWARD :x
FORWARD 50
This should draw a straight line. 50 + :x + 50 pixels long.
Instead of stepping forwards :x pixels the turtle writes the number from the input box . The turtle also render a line under the number and continues the next command from this point.
I think this is a bug, but to be sure I hope others can verify this.
LibreOffice 5.0.3.2, Windows 7, English.
Not tried for other versions.
Kolbjørn