|
LibreLogo.xhp par_650 help.text
|
Alternative parenthesization in function calls
|
|
|
LibreLogo.xhp par_640 help.text
|
PRINT FILLCOLOR<br/> p = POSITION<br/> PRINT p<br/> REPEAT 10 [ POSITION ANY POSITION p ]<br/>
|
|
|
LibreLogo.xhp par_630 help.text
|
There are no extra query functions:
|
|
|
LibreLogo.xhp par_620 help.text
|
x = 15<br/> PRINT x<br/>
|
|
|
LibreLogo.xhp par_610 help.text
|
Python-like variable declaration:
|
|
|
LibreLogo.xhp par_600 help.text
|
Python-like FOR loop
|
|
|
LibreLogo.xhp par_590 help.text
|
PRINT “text”[2] ; print “x”<br/> PRINT “text”[1:3] ; print “ex”<br/>
|
|
|
LibreLogo.xhp par_580 help.text
|
Python list and string handling
|
|
|
LibreLogo.xhp par_570 help.text
|
PRINT "word ; original Logo syntax<br/> PRINT “Arbitrary text.” ; orthography, Writer<br/> PRINT 'Arbitrary text.' ; Python syntax<br/>
|
|
|
LibreLogo.xhp par_560 help.text
|
String notation supports also orthographical and Python syntax.
|
|
|
LibreLogo.xhp par_550 help.text
|
TO triangle size<br/> REPEAT 3 [ FORWARD size LEFT 120 ]<br/> END<br/>
|
|
|
LibreLogo.xhp par_540 help.text
|
The colon is optional before the variable names.
|
|
|
LibreLogo.xhp par_520 help.text
|
1-line function declarations are not supported (TO and END need new lines).
|
|
|
LibreLogo.xhp par_510 help.text
|
Lists need close parenthesization: POSITION [0, 0], and not POSITION [ 0, 0 ]
|
|
|
LibreLogo.xhp par_500 help.text
|
Program blocks need space or new line at parenthesization: REPEAT 10 [ FORWARD 10 LEFT 36 ]
|
|
|
LibreLogo.xhp par_490 help.text
|
Program blocks and lists are different
|
|
|
LibreLogo.xhp par_480 help.text
|
List members are comma separated: POSITION [0, 0]
|
|
|
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 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_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.
|
|