|
LibreLogo.xhp par_380 help.text
|
FORWARD 200 LEFT 89<br/>
|
|
|
LibreLogo.xhp par_390 help.text
|
To reset the command line triple-click it or press <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+A</keycode> to select the previous commands, and type the new commands.
|
|
|
LibreLogo.xhp hd_413 help.text
|
Graphical user interface of basic turtle settings
|
|
|
LibreLogo.xhp par_415 help.text
|
Turtle shape of LibreLogo is a normal fixed size drawing object. You can position and rotate it on standard way, too, using the mouse and the Rotate icon of the Drawing Object Properties toolbar. Modify Line Width, Line Color and Area Color settings of the turtle shape to set PENSIZE, PENCOLOR and FILLCOLOR attributes of LibreLogo.
|
|
|
LibreLogo.xhp hd_420 help.text
|
Program editing
|
|
|
LibreLogo.xhp par_430 help.text
|
LibreLogo drawings and programs use the same Writer document. The LibreLogo canvas is on the first page of the Writer document. You can insert a page break before the LibreLogo programs and set page zoom using the “magic wand” icon of the Logo toolbar, also change the font size for a comfortable 2-page layout for LibreLogo programming: left (first) page is the canvas, right (second) page is the LibreLogo program editor.
|
|
|
LibreLogo.xhp hd_440 help.text
|
LibreLogo programming language
|
|
|
LibreLogo.xhp par_450 help.text
|
LibreLogo is an easily localizable, Logo-like programming language, localized in several languages by LibreOffice native language communities. It is back-compatible with the older Logo systems in the case of the simple Logo programs used in education, eg.
|
|
|
LibreLogo.xhp par_460 help.text
|
TO triangle :size<br/> REPEAT 3 [<br/> FORWARD :size<br/> LEFT 120<br/> ]<br/> END<br/> <br/> triangle 10 triangle 100 triangle 200<br/>
|
|
|
LibreLogo.xhp hd_470 help.text
|
Differences from the Logo programming language
|
|
|
LibreLogo.xhp par_480 help.text
|
List members are comma separated: POSITION [0, 0]
|
|
|
LibreLogo.xhp par_490 help.text
|
Program blocks and lists are different
|
|
|
LibreLogo.xhp par_500 help.text
|
Program blocks need space or new line at parenthesization: REPEAT 10 [ FORWARD 10 LEFT 36 ]
|
|
|
LibreLogo.xhp par_510 help.text
|
Lists need close parenthesization: POSITION [0, 0], and not POSITION [ 0, 0 ]
|
|
|
LibreLogo.xhp par_520 help.text
|
1-line function declarations are not supported (TO and END need new lines).
|
|
|
LibreLogo.xhp hd_530 help.text
|
Other features of LibreLogo
|
|
|
LibreLogo.xhp par_540 help.text
|
The colon is optional before the variable names.
|
|
|
LibreLogo.xhp par_550 help.text
|
TO triangle size<br/> REPEAT 3 [ FORWARD size LEFT 120 ]<br/> END<br/>
|
|
|
LibreLogo.xhp par_560 help.text
|
String notation supports also orthographical and Python syntax.
|
|
|
LibreLogo.xhp par_570 help.text
|
PRINT "word ; original Logo syntax<br/> PRINT “Arbitrary text.” ; orthography, Writer<br/> PRINT 'Arbitrary text.' ; Python syntax<br/>
|
|