[Libreoffice-commits] .: source/text

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 29 12:52:39 PST 2012


 source/text/swriter/LibreLogo.xhp |  188 +++++++++++++++++++-------------------
 1 file changed, 94 insertions(+), 94 deletions(-)

New commits:
commit 4d46d7ee993ea549cf959bc012a616308b3496c9
Author: Andras Timar <atimar at suse.com>
Date:   Thu Nov 29 21:54:24 2012 +0100

    cosmetic and typo fixes in LibreLogo help
    
    Change-Id: I3c47493b37c9c733f2c0af0598e399aa269b5c48

diff --git a/source/text/swriter/LibreLogo.xhp b/source/text/swriter/LibreLogo.xhp
index d50e2e0..14ef72b 100644
--- a/source/text/swriter/LibreLogo.xhp
+++ b/source/text/swriter/LibreLogo.xhp
@@ -25,7 +25,7 @@
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/.HelpId:addon_LibreLogo.OfficeToolBar" id="bm2" localize="false"/>
 <paragraph role="heading" level="1" xml-lang="en-US" id="hd_170">LibreLogo</paragraph>
-<paragraph role="paragraph" xml-lang="en-US" id="par_180">LibreLogo is a simple, native, Logo-like programming environment with turtle vector graphics for teaching of computing (programming and word processing), DTP and graphic design. See http://www.numbertext.org/logo/librelogo.pdf.</paragraph>
+<paragraph role="paragraph" xml-lang="en-US" id="par_180">LibreLogo is a simple, native, Logo-like programming environment with turtle vector graphics for teaching of computing (programming and word processing), DTP and graphic design. See <link href="http://www.numbertext.org/logo/librelogo.pdf">http://www.numbertext.org/logo/librelogo.pdf</link>.</paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_220">LibreLogo toolbar</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_230">The LibreLogo toolbar (View » Toolbars » Logo) contains turtle moving, program run and stop, home and clear screen and syntax highlighting/translating icons and an input bar (command line).</paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_240">Turtle moving icons</paragraph>
@@ -40,7 +40,7 @@
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_350">Command line</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_360">Hit Enter in the command line to execute its content. To stop the program use the icon “stop”.</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_370">Hold down the Enter to repeat the command line, for example, on the following command sequence:</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_380"> FORWARD 200 LEFT 89<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_380"> FORWARD 200 LEFT 89<br/></paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_390">To reset the command line click triple in it or press Ctrl-A to select the previous commands, and type the new commands.</paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_400">Syntax highlighting/Translating</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_410">It expands and upper case Logo commands in the Writer document. Change the language of the document (Tools » Options » Language Settings » Languages » Western) and click on this icon to translate the Logo program to the selected language.</paragraph>
@@ -48,7 +48,7 @@
 <paragraph role="paragraph" xml-lang="en-US" id="par_430">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 the zoom/font size for a comfortable two page layout for LibreLogo programming: left (first) page is the canvas, right (second) page is for the LibreLogo programs.</paragraph>
 <paragraph role="heading" level="1" xml-lang="en-US" id="hd_440">LibreLogo programming language</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_450">LibreLogo is a native, easily localisable, Logo-like programming language. It is back-compatible with the older Logo systems in the case of the simple Logo programs used in education, eg.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_460"> TO triangle :size<br/> REPEAT 3 [<br/>   FORWARD :size<br/>   LEFT 120<br/> ]<br/> END<br/> <br/> triangle 10 triangle 100 triangle 200<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_460"> TO triangle :size<br/> REPEAT 3 [<br/>   FORWARD :size<br/>   LEFT 120<br/> ]<br/> END<br/> <br/> triangle 10 triangle 100 triangle 200<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_470">Differences from the Logo programming language</paragraph>
 <list type="unordered">
     <listitem>
@@ -60,7 +60,7 @@
     <listitem>
         <list type="unordered">
             <listitem>
-                <paragraph role="listitem" xml-lang="en-US" id="par_500">Program blocks need space or new line at parenthesization: REPEAT 10 [ forward 10 left 36 ]</paragraph>
+                <paragraph role="listitem" xml-lang="en-US" id="par_500">Program blocks need space or new line at parenthesization: REPEAT 10 [ FORWARD 10 LEFT 36 ]</paragraph>
             </listitem>
             <listitem>
                 <paragraph role="listitem" xml-lang="en-US" id="par_510">Lists need close parenthesization: POSITION [0, 0], and not POSITION [ 0, 0 ]</paragraph>
@@ -68,123 +68,123 @@
         </list>
     </listitem>
     <listitem>
-        <paragraph role="listitem" xml-lang="en-US" id="par_520">1-line function declarations have not supported yet (TO and END need new lines).</paragraph>
+        <paragraph role="listitem" xml-lang="en-US" id="par_520">1-line function declarations are not supported (TO and END need new lines).</paragraph>
     </listitem>
 </list>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_530">Other features of LibreLogo</paragraph>
 <list type="unordered">
     <listitem>
         <paragraph role="listitem" xml-lang="en-US" id="par_540">The colon is optional before the variable names.</paragraph>
-        <paragraph role="code" xml-lang="en-US" id="par_550"> TO triangle size<br/>   REPEAT 3 [ FORWARD size LEFT 120 ]<br/> END<br/></paragraph>
+        <paragraph role="logocode" xml-lang="en-US" id="par_550"> TO triangle size<br/>   REPEAT 3 [ FORWARD size LEFT 120 ]<br/> END<br/></paragraph>
     </listitem>
     <listitem>
         <paragraph role="paragraph" xml-lang="en-US" id="par_560">String notation supports also orthographical and Python syntax.</paragraph>
-        <paragraph role="code" xml-lang="en-US" id="par_570"> PRINT "word	; original Logo syntax<br/> PRINT â€œArbitrary text.”	; orthography, Writer<br/> PRINT 'Arbitrary text.'	; Python syntax<br/></paragraph>
+        <paragraph role="logocode" xml-lang="en-US" id="par_570"> PRINT "word" ; original Logo syntax<br/> PRINT “Arbitrary text.” ; orthography, Writer<br/> PRINT 'Arbitrary text.' ; Python syntax<br/></paragraph>
     </listitem>
     <listitem>
         <paragraph role="paragraph" xml-lang="en-US" id="par_580">Python list and string handling</paragraph>
-        <paragraph role="code" xml-lang="en-US" id="par_590"> PRINT â€œtext”[2]		; print â€œx”<br/> PRINT â€œtext”[1:3]		; print â€œex”<br/></paragraph>
+        <paragraph role="logocode" xml-lang="en-US" id="par_590"> PRINT “text”[2] ; print “x”<br/> PRINT “text”[1:3] ; print “ex”<br/></paragraph>
     </listitem>
     <listitem>
         <paragraph role="paragraph" xml-lang="en-US" id="par_600">Python-like FOR loop</paragraph>
     </listitem>
     <listitem>
         <paragraph role="paragraph" xml-lang="en-US" id="par_610">Python-like variable declaration:</paragraph>
-        <paragraph role="code" xml-lang="en-US" id="par_620"> x = 15<br/> PRINT x<br/></paragraph>
+        <paragraph role="logocode" xml-lang="en-US" id="par_620"> x = 15<br/> PRINT x<br/></paragraph>
     </listitem>
     <listitem>
         <paragraph role="paragraph" xml-lang="en-US" id="par_630">There are no extra query functions:</paragraph>
-        <paragraph role="code" xml-lang="en-US" id="par_640"> PRINT FILLCOLOR<br/> p = POSITION<br/> PRINT p<br/> REPEAT 10 [ POSITION ANY POSITION p ]<br/></paragraph>
+        <paragraph role="logocode" xml-lang="en-US" id="par_640"> PRINT FILLCOLOR<br/> p = POSITION<br/> PRINT p<br/> REPEAT 10 [ POSITION ANY POSITION p ]<br/></paragraph>
     </listitem>
     <listitem>
         <paragraph role="paragraph" xml-lang="en-US" id="par_650">Alternative parenthesization in function calls</paragraph>
-        <paragraph role="code" xml-lang="en-US" id="par_660"> TO star size color<br/> FILLCOLOR color<br/> REPEAT 5 [ LEFT 72 FORWARD size RIGHT 144 FORWARD size ]<br/> FILL<br/> END<br/> <br/> star 100 â€œred”<br/> star (100, â€œgreen”)<br/> star(100, â€œblue”)<br/></paragraph>
+        <paragraph role="logocode" xml-lang="en-US" id="par_660"> TO star size color<br/> FILLCOLOR color<br/> REPEAT 5 [ LEFT 72 FORWARD size RIGHT 144 FORWARD size ]<br/> FILL<br/> END<br/> <br/> star 100 “red”<br/> star (100, “green”)<br/> star(100, “blue”)<br/></paragraph>
     </listitem>
 </list>
 <paragraph role="heading" level="1" xml-lang="en-US" id="hd_670">LibreLogo commands</paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_680">Basic syntax</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_690">Case sensitivity</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_700">Commands, color constants are case insensitive:</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_710"> PRINT â€œHello, World!”<br/> print â€œHello, World, again!”<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_710"> PRINT “Hello, World!”<br/> print “Hello, World, again!”<br/></paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_720">Variable names are case sensitive:</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_730"> a = 5<br/> A = 7<br/> PRINT a<br/> PRINT A<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_730"> a = 5<br/> A = 7<br/> PRINT a<br/> PRINT A<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_740">Program lines</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_750">Lines of a LibreLogo program are paragraphs in the LibreOffice Writer document. A program line can contain multiple commands:</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_760"> PRINT â€œHello, World!” PRINT â€œLibreLogo”<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_760"> PRINT “Hello, World!” PRINT “LibreLogo”<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_770">Comments</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_780">Lines or line parts are comments from a semicolon to the end of the line (paragraph):</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_790"> ; some comments<br/> PRINT 5 * 5	; some comments<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_790"> ; some comments<br/> PRINT 5 * 5 ; some comments<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_800">Break program lines to multiple paragraphs</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_810">It’s possible to break a program line for more paragraphs using the character tilde at the end of the line:</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_820"> PRINT â€œThis is a very long â€ + ~<br/>       â€œwarning message”<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_820"> PRINT “This is a very long ” + ~<br/>       “warning message”<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_830">Turtle moving</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_840">FORWARD (fd)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_850"> FORWARD 10	; move forward 10pt (1pt = 1/72 inch)<br/> FORWARD 10pt	; see above<br/> FORWARD 0.5in	; move forward 0.5 inch (1 inch = 2.54 cm)<br/> FORWARD 1"	; see above<br/> FD 1mm<br/> FD 1cm<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_850"> FORWARD 10 ; move forward 10pt (1pt = 1/72 inch)<br/> FORWARD 10pt ; see above<br/> FORWARD 0.5in ; move forward 0.5 inch (1 inch = 2.54 cm)<br/> FORWARD 1" ; see above<br/> FD 1mm<br/> FD 1cm<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_860">BACK (bk)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_870"> BACK 10 ; move back 10pt<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_870"> BACK 10 ; move back 10pt<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_880">LEFT (lt)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_890"> LEFT 90	; turn counterclockwise 90 degrees<br/> LEFT 90°	; see above<br/> LT 3h		; see above (clock position)<br/> LT any		; turn to a random position<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_890"> LEFT 90 ; turn counterclockwise 90 degrees<br/> LEFT 90° ; see above<br/> LT 3h ; see above (clock position)<br/> LT any ; turn to a random position<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_900">RIGHT (rt)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_910"> RIGHT 90	; turn clockwise 90 degrees<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_910"> RIGHT 90 ; turn clockwise 90 degrees<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_920">PENUP (pu)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_930"> PENUP		; turtle will move without drawing<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_930"> PENUP ; turtle will move without drawing<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_940">PENDOWN (pd)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_950"> PENDOWN	; turtle will move with drawing<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_950"> PENDOWN ; turtle will move with drawing<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_960">POSITION (pos)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_970"> POSITION [0, 0]	; turn and move to the top-left corner<br/> POSITION PAGESIZE	; turn and move to the bottom-right corner<br/> POSITION [PAGESIZE[0], 0] ; turn and move to the top-right corner<br/> POSITION ANY		; turn and move to a random position<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_970"> POSITION [0, 0] ; turn and move to the top-left corner<br/> POSITION PAGESIZE ; turn and move to the bottom-right corner<br/> POSITION [PAGESIZE[0], 0] ; turn and move to the top-right corner<br/> POSITION ANY ; turn and move to a random position<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_980">HEADING (seth)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_990"> HEADING 0		; turn north<br/> HEADING 12h		; see above<br/> HEADING ANY		; turn to a random position<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_990"> HEADING 0 ; turn north<br/> HEADING 12h ; see above<br/> HEADING ANY ; turn to a random position<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1000">Other turtle commands</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1010">HIDETURTLE (ht)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1020"> HIDETURTLE	; hide turtle (until the showturtle command)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1020"> HIDETURTLE ; hide turtle (until the showturtle command)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1030">SHOWTURTLE (st)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1040"> SHOWTURTLE	; show turtle<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1040"> SHOWTURTLE ; show turtle<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1050">HOME</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1060"> HOME		; reset initial turtle settings and position<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1060"> HOME ; reset initial turtle settings and position<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1070">CLEARSCREEN (cs)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1080"> CLEARSCREEN	; remove drawing objects of the document<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1080"> CLEARSCREEN ; remove drawing objects of the document<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1090">FILL and CLOSE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1100"> FILL		; close and fill the actual line shape<br/> CLOSE		; close the actual line shape<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1100"> FILL ; close and fill the actual line shape<br/> CLOSE ; close the actual line shape<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1110">Pen settings</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1120">PENSIZE (ps)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1130"> PENSIZE 100	; line width is 100 points<br/> PENSIZE ANY	; equivalent of PENSIZE RANDOM 10<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1130"> PENSIZE 100 ; line width is 100 points<br/> PENSIZE ANY ; equivalent of PENSIZE RANDOM 10<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1140">PENCOLOR/PENCOLOUR (pc)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1150"> PENCOLOR â€œred”		; set red pen color (by color name, see color constants)<br/> PENCOLOR [255, 255, 0]	; set yellow color (RGB list)<br/> PENCOLOR 0xffff00	; set yellow color (hexa code)<br/> PENCOLOR 0		; set black color (0x000000)<br/> PENCOLOR ANY	; random color<br/> PENCOLOR [5]		; set red color (by color identifier, see color constants)<br/> PENCOLOR â€œinvisible”	; invisible pen color for shapes without visible outline<br/> PENCOLOR â€œ~red”	; set random red color<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1150"> PENCOLOR “red” ; set red pen color (by color name, see color constants)<br/> PENCOLOR [255, 255, 0] ; set yellow color (RGB list)<br/> PENCOLOR 0xffff00 ; set yellow color (hexa code)<br/> PENCOLOR 0 ; set black color (0x000000)<br/> PENCOLOR ANY ; random color<br/> PENCOLOR [5] ; set red color (by color identifier, see color constants)<br/> PENCOLOR “invisible” ; invisible pen color for shapes without visible outline<br/> PENCOLOR “~red” ; set random red color<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1160">PENJOINT/LINEJOINT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1170"> PENJOINT â€œrounded”	; rounded line joint (default)<br/> PENJOINT â€œmiter”	; sharp line joint<br/> PENJOINT â€œbevel”	; bevel line joint<br/> PENJOINT â€œnone”	; without line joint<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1170"> PENJOINT “rounded” ; rounded line joint (default)<br/> PENJOINT “miter” ; sharp line joint<br/> PENJOINT “bevel” ; bevel line joint<br/> PENJOINT “none” ; without line joint<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1180">PENSTYLE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1190"> PENSTYLE â€œsolid”	; solid line (default)<br/> PENSTYLE â€œdotted”	; dotted line<br/> PENSTYLE â€œdashed”	; dashed line<br/> <br/> ; custom dot–dash pattern specified by a list with the following arguments:<br/> ; â€“ number of the neighbouring dots<br/> ; â€“ length of a dot<br/> ; â€“ number of the neighbouring dashes<br/> ; â€“ length of a dash<br/> ; â€“ distance of the dots/dashes<br/> ; â€“ type (optional):<br/> ;   0 = dots are rectangles (default)<br/> ;   2 = dots are squares (lengths and distances&#16
 0;are relative to the pensize)<br/> <br/> PENSTYLE [3, 1mm, 2, 4mm, 2mm, 2]	; ...––...––...––<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1190"> PENSTYLE “solid” ; solid line (default)<br/> PENSTYLE “dotted” ; dotted line<br/> PENSTYLE “dashed” ; dashed line<br/> <br/> ; custom dot–dash pattern specified by a list with the following arguments:<br/> ; – number of the neighbouring dots<br/> ; – length of a dot<br/> ; – number of the neighbouring dashes<br/> ; – length of a dash<br/> ; – distance of the dots/dashes<br/> ; – type (optional):<br/> ;   0 = dots are rectangles (default)<br/> ;   2 = dots are squares (lengths and distances are relative to the pensize)<br/> <br/> PENSTYLE [3, 1mm, 2, 4mm, 2mm, 2] ; ...––...––...––<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1200">Fill settings</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1210">FILLCOLOR/FILLCOLOUR (fc)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1220"> FILLCOLOR â€œblue”	; fill with blue color, see also PENCOLOR<br/> FILLCOLOR â€œinvisible” CIRCLE 10	; unfilled circle<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1220"> FILLCOLOR “blue” ; fill with blue color, see also PENCOLOR<br/> FILLCOLOR “invisible” CIRCLE 10 ; unfilled circle<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1230">FILLSTYLE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1240"> FILLSTYLE 0		; fill without hatches (default)<br/> FILLSTYLE 1		; black single hatches (horizontal)<br/> FILLSTYLE 2		; black single hatches (45 degrees)<br/> FILLSTYLE 3		; black single hatches (-45 degrees)<br/> FILLSTYLE 4		; black single hatches (vertical)<br/> FILLSTYLE 5		; red crossed hatches (45 degrees)<br/> FILLSTYLE 6		; red crossed hatches (0 degrees)<br/> FILLSTYLE 7		; blue crossed hatches (45 degrees)<br/> FILLSTYLE 8		; blue crossed hatches (0 degrees)<br/> FILLSTYLE 9		; blue triple crossed<br/> FILLSTYLE 10		; black wide single hatches (45 degre
 es)<br/> <br/> ; custom hatches specified by a list with the following arguments:<br/> ; â€“ style (1 = single, 2 = double, 3 = triple hatching)<br/> ; â€“ color<br/> ; â€“ distance<br/> ; â€“ degree<br/> <br/> FILLSTYLE [2, â€œgreen”, 3pt, 15°]	; green crossed hatches (15 degrees)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1240"> FILLSTYLE 0 ; fill without hatches (default)<br/> FILLSTYLE 1 ; black single hatches (horizontal)<br/> FILLSTYLE 2 ; black single hatches (45 degrees)<br/> FILLSTYLE 3 ; black single hatches (-45 degrees)<br/> FILLSTYLE 4 ; black single hatches (vertical)<br/> FILLSTYLE 5 ; red crossed hatches (45 degrees)<br/> FILLSTYLE 6 ; red crossed hatches (0 degrees)<br/> FILLSTYLE 7 ; blue crossed hatches (45 degrees)<br/> FILLSTYLE 8 ; blue crossed hatches (0 degrees)<br/> FILLSTYLE 9 ; blue triple crossed<br/> FILLSTYLE 10 ; black wide single hatches (45 degrees)<br/> <br/> ; custom hatches specified by a list with the following arguments:<br/> ; – style (1 = single, 2 = double, 3 = triple hatching)<br/> ; – color<br/> ; – distance<br/> ; – degree<br/> <br/> FILLSTYLE [2, “green”, 3pt, 15°] ; green crossed hatches (15 degrees)<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1250">Drawing objects</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1260">CIRCLE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1270"> CIRCLE 100	; draw a circle shape (diameter = 100pt)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1270"> CIRCLE 100 ; draw a circle shape (diameter = 100pt)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1280">ELLIPSE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1290"> ELLIPSE [50, 100]		; draw an ellipse with 50 and 100 diameters<br/> ELLIPSE [50, 100, 2h, 12h]	; draw an elliptical sector (from 2h clock position to 12h)<br/> ELLIPSE [50, 100, 2h, 12h, 2]  ; draw an elliptical segment<br/> ELLIPSE [50, 100, 2h, 12h, 3]  ; draw an elliptical arc<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1290"> ELLIPSE [50, 100] ; draw an ellipse with 50 and 100 diameters<br/> ELLIPSE [50, 100, 2h, 12h] ; draw an elliptical sector (from 2h clock position to 12h)<br/> ELLIPSE [50, 100, 2h, 12h, 2]  ; draw an elliptical segment<br/> ELLIPSE [50, 100, 2h, 12h, 3]  ; draw an elliptical arc<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1300">SQUARE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1310"> SQUARE 100	; draw a square shape (size = 100pt)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1310"> SQUARE 100 ; draw a square shape (size = 100pt)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1320">RECTANGLE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1330"> RECTANGLE [50, 100]		; draw a rectange shape (50×100pt)<br/> RECTANGLE [50, 100, 50]	; draw a rectangle <br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1330"> RECTANGLE [50, 100] ; draw a rectange shape (50×100pt)<br/> RECTANGLE [50, 100, 50] ; draw a rectangle <br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1340">POINT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1350"> POINT		; draw a point with size and color of the pen<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1350"> POINT ; draw a point with size and color of the pen<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1360">LABEL</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1370"> LABEL â€œtext”	; print text in the turte position<br/> LABEL 'text'	; see above<br/> LABEL "text	; see above (only for single words)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1370"> LABEL “text” ; print text in the turte position<br/> LABEL 'text' ; see above<br/> LABEL "text ; see above (only for single words)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1380">TEXT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1390"> CIRCLE 10 TEXT â€œtext”	; set text of the actual drawing object<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1390"> CIRCLE 10 TEXT “text” ; set text of the actual drawing object<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1400">Font settings</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1410">FONTCOLOR/FONTCOLOUR</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1420"> FONTCOLOR â€œgreen”	; set font color<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1420"> FONTCOLOR “green” ; set font color<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1430">FONTFAMILY</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1440"> FONTFAMILY â€œLinux Libertine G”	; set font (family)<br/> FONTFAMILY â€œLinux Libertine G:smcp=1”	; set also font feature (small caps)<br/> FONTFAMILY â€œLinux Libertine G:smcp=1&onum=1”	; small caps + old figures<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1440"> FONTFAMILY “Linux Libertine G” ; set font (family)<br/> FONTFAMILY “Linux Libertine G:smcp=1” ; set also font feature (small caps)<br/> FONTFAMILY “Linux Libertine G:smcp=1&onum=1” ; small caps + old figures<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1450">FONTSIZE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1460"> FONTSIZE 12	; set 12pt<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1460"> FONTSIZE 12 ; set 12pt<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1470">FONTWEIGHT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1480"> FONTWEIGHT â€œbold”	; set bold font<br/> FONTWEIGHT â€œnormal”	; set normal weight<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1480"> FONTWEIGHT “bold” ; set bold font<br/> FONTWEIGHT “normal” ; set normal weight<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1490">FONTSTYLE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1500"> FONTSTYLE â€œitalic”	; set italic variant<br/> FONTSTYLE â€œnormal”	; set normal variant<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1500"> FONTSTYLE “italic” ; set italic variant<br/> FONTSTYLE “normal” ; set normal variant<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1510">PICTURE (pic)</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1520">PICTURE is for </paragraph>
 <list type="unordered">
@@ -199,122 +199,122 @@
     </listitem>
 </list>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1560">Shape grouping</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1570"> ; PICTURE [ LibreLogo_commands ]<br/> PICTURE [ FORWARD 100 CIRCLE 100 ]	; tree-like grouped shape<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1570"> ; PICTURE [ LibreLogo_commands ]<br/> PICTURE [ FORWARD 100 CIRCLE 100 ] ; tree-like grouped shape<br/></paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1580">See also “Group” in LibreOffice Writer Help.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1590"> TO tree location<br/>   PENUP POSITION location HEADING 0 PENDOWN<br/>   PICTURE [ FORWARD 100 CIRCLE 100 ]	; tree-like grouped shape<br/> END<br/> <br/> PICTURE [ tree [30, 50] tree [100, 50] ]	; grouped shapes in a grouped shape<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1590"> TO tree location<br/>   PENUP POSITION location HEADING 0 PENDOWN<br/>   PICTURE [ FORWARD 100 CIRCLE 100 ] ; tree-like grouped shape<br/> END<br/> <br/> PICTURE [ tree [30, 50] tree [100, 50] ] ; grouped shapes in a grouped shape<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1600">Starting new line shapes</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1610"> PICTURE			; start a new line shape<br/> FORWARD 10 PICTURE FORWARD 10	; two line shapes<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1610"> PICTURE ; start a new line shape<br/> FORWARD 10 PICTURE FORWARD 10 ; two line shapes<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1620">Consistency at the left border</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1630">Use picture to keep the consistency of positions and line shapes at the left border of Writer:</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1640"> PICTURE [ CIRCLE 20 POSITION [-100, 100] CIRCLE 20 ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1640"> PICTURE [ CIRCLE 20 POSITION [-100, 100] CIRCLE 20 ]<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1650">Loops</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1660">REPEAT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1670"> ; REPEAT number [ commands ]<br/> <br/> REPEAT 10 [ FORWARD 10 LEFT 45 CIRCLE 10 ]	; repeat 10 times<br/></paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1680"> ; number is optional<br/> <br/> REPEAT [ POSITION ANY ]	; endless loop<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1670"> ; REPEAT number [ commands ]<br/> <br/> REPEAT 10 [ FORWARD 10 LEFT 45 CIRCLE 10 ] ; repeat 10 times<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1680"> ; number is optional<br/> <br/> REPEAT [ POSITION ANY ] ; endless loop<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1690">REPCOUNT</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1700">Loop variable (also in the FOR and WHILE loops).</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1710"> REPEAT 100 [ FORWARD REPCOUNT LEFT 90 ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1710"> REPEAT 100 [ FORWARD REPCOUNT LEFT 90 ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1720">FOR IN</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1730">Loop for the list elements:</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1740"> FOR i IN [1, 5, 7, 9, 11] [<br/>   FORWARD i<br/>   LEFT 90<br/> ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1740"> FOR i IN [1, 5, 7, 9, 11] [<br/>   FORWARD i<br/>   LEFT 90<br/> ]<br/></paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1750">Loop for the characters of a character sequence:</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1760"> FOR i IN â€œtext” [<br/>   LABEL i<br/>   FORWARD 10<br/> ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1760"> FOR i IN “text” [<br/>   LABEL i<br/>   FORWARD 10<br/> ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1770">WHILE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1780"> WHILE TRUE [ POSITION ANY ]	; endless loop<br/> WHILE REPCOUNT <= 10 [ FORWARD 50 LEFT 36 ]	; as REPEAT 10 [ ... ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1780"> WHILE TRUE [ POSITION ANY ] ; endless loop<br/> WHILE REPCOUNT <= 10 [ FORWARD 50 LEFT 36 ] ; as REPEAT 10 [ ... ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1790">BREAK</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1800">Stop the loop.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1810"> REPEAT [			; endless loop<br/>   POSITION ANY<br/>   IF REPCOUNT = 100 [ BREAK ]  ; equivalent of the REPEAT 100 [ ... ]<br/> ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1810"> REPEAT [ ; endless loop<br/>   POSITION ANY<br/>   IF REPCOUNT = 100 [ BREAK ]  ; equivalent of the REPEAT 100 [ ... ]<br/> ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1820">CONTINUE</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1830">Jump into the next iteration of the loop.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1840"> REPEAT 100 [<br/>   POSITION ANY<br/>   IF REPCOUNT % 2 <> 0 [ CONTINUE ]<br/>   CIRCLE 10	; draw circles on every 2nd positions<br/> ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1840"> REPEAT 100 [<br/>   POSITION ANY<br/>   IF REPCOUNT % 2 <> 0 [ CONTINUE ]<br/>   CIRCLE 10 ; draw circles on every 2nd positions<br/> ]<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1850">Conditions</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1860">IF</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1870"> ; IF condition [ true block ]<br/> ; IF condition [ true block ] [ false block ]<br/> <br/> IF a < 10 [ PRINT â€œSmall” ]<br/> IF a < 10 [ PRINT â€œSmall” ] [ PRINT â€œBig” ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1870"> ; IF condition [ true block ]<br/> ; IF condition [ true block ] [ false block ]<br/> <br/> IF a < 10 [ PRINT “Small” ]<br/> IF a < 10 [ PRINT “Small” ] [ PRINT “Big” ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1880">AND, OR, NOT</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1890">Logical operators.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1900"> IF a < 10 AND NOT a < 5 [ PRINT â€œ5, 6, 7, 8 or 9” ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1900"> IF a < 10 AND NOT a < 5 [ PRINT “5, 6, 7, 8 or 9” ]<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1910">Subroutines</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1920">TO, END</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1930">New word (or procedure).</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1940"> TO triangle<br/>   REPEAT [ FORWARD 100 RIGHT 120 ] FILL<br/> END<br/> <br/> REPEAT 10 [ triangle PENUP POSITION ANY PENDOWN ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1940"> TO triangle<br/>   REPEAT [ FORWARD 100 RIGHT 120 ] FILL<br/> END<br/> <br/> REPEAT 10 [ triangle PENUP POSITION ANY PENDOWN ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1950">OUTPUT</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1960">Return value of the function.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_1970"> TO randomletter<br/>   OUTPUT RANDOM â€œqwertzuiopasdfghjklyxcvbnm”<br/> END<br/> <br/> PRINT randomletter + randomletter + randomletter	; print 3-letter random character sequence<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1970"> TO randomletter<br/>   OUTPUT RANDOM “qwertzuiopasdfghjklyxcvbnm”<br/> END<br/> <br/> PRINT randomletter + randomletter + randomletter ; print 3-letter random character sequence<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1980">STOP</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1990">Return from the procedure.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2000"> TO example number<br/>   IF number < 0 [ STOP ]<br/>   PRINT SQRT number		; print square root<br/> ]<br/> <br/> example 100<br/> example -1	; without output and error<br/> example 25<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2000"> TO example number<br/>   IF number < 0 [ STOP ]<br/>   PRINT SQRT number ; print square root<br/> ]<br/> <br/> example 100<br/> example -1 ; without output and error<br/> example 25<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_2010">Default variables</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2020">ANY</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_2030">Default random value of colors, etc.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2040"> PENCOLOR ANY	; random pen color<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2040"> PENCOLOR ANY ; random pen color<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2050">TRUE</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_2060">Logical value.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2070"> WHILE TRUE [ POSITION ANY ]	; endless loop<br/> PRINT TRUE	; print true<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2070"> WHILE TRUE [ POSITION ANY ] ; endless loop<br/> PRINT TRUE ; print true<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2080">FALSE</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_2090">Logical value.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2100"> WHILE NOT FALSE [ POSITION ANY ]	; endless loop<br/> PRINT FALSE	; print false<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2100"> WHILE NOT FALSE [ POSITION ANY ] ; endless loop<br/> PRINT FALSE ; print false<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2110">PAGESIZE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2120"> PRINT PAGESIZE	; print list of the page sizes in points, eg. [595.30, 841.89]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2120"> PRINT PAGESIZE ; print list of the page sizes in points, eg. [595.30, 841.89]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2130">PI/Ï€</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2140"> PRINT PI	; print 3.14159265359<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2140"> PRINT PI ; print 3.14159265359<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_2150">Input/Output</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2160">PRINT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2170"> PRINT â€œtext”	; print â€œtext” in a dialog box<br/> PRINT 5 + 10	; print 15<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2170"> PRINT “text” ; print “text” in a dialog box<br/> PRINT 5 + 10 ; print 15<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2180">INPUT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2190"> PRINT INPUT â€œInput value?”	; ask and print a string by a query dialog box<br/> PRINT FLOAT (INPUT â€œFirst number?”) + FLOAT (INPUT â€œSecond number?”) ; simple calculator<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2190"> PRINT INPUT “Input value?” ; ask and print a string by a query dialog box<br/> PRINT FLOAT (INPUT “First number?”) + FLOAT (INPUT “Second number?”) ; simple calculator<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_2200">SLEEP</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2210"> SLEEP 1000	; wait for 1000 ms (1 sec)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2210"> SLEEP 1000 ; wait for 1000 ms (1 sec)<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_2220">GLOBAL</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_2230">Set global variables used in procedures.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2240"> GLOBAL about<br/> about = â€œLibreLogo”<br/> <br/> TO example<br/>   PRINT about<br/>   GLOBAL about	; when we want to add a new value<br/>   about = â€œnew value for the global variable”<br/> END<br/> <br/> example<br/> PRINT about<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2240"> GLOBAL about<br/> about = “LibreLogo”<br/> <br/> TO example<br/>   PRINT about<br/>   GLOBAL about ; when we want to add a new value<br/>   about = “new value for the global variable”<br/> END<br/> <br/> example<br/> PRINT about<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_2250">Functions</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2260">RANDOM</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2270"> PRINT RANDOM 100	; random float number (0 <= x < 100)<br/> PRINT RANDOM â€œtext”	; random letter of the â€œtext”<br/> PRINT RANDOM [1, 2]	; random list element (1 or 2)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2270"> PRINT RANDOM 100 ; random float number (0 <= x < 100)<br/> PRINT RANDOM “text” ; random letter of the “text”<br/> PRINT RANDOM [1, 2] ; random list element (1 or 2)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2280">INT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2290"> PRINT INT 3.8		; print 3 (integer part of 3.8)<br/> PRINT INT RANDOM 100	; random integer number (0 <= x < 100)<br/> PRINT INT â€œ7”		; convert the string parameter to integer<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2290"> PRINT INT 3.8 ; print 3 (integer part of 3.8)<br/> PRINT INT RANDOM 100 ; random integer number (0 <= x < 100)<br/> PRINT INT “7” ; convert the string parameter to integer<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2300">FLOAT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2310"> ; convert the string parameter to float number<br/> PRINT 2 * FLOAT â€œ5.5”	; print 11.0<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2310"> ; convert the string parameter to float number<br/> PRINT 2 * FLOAT “5.5” ; print 11.0<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2320">STR</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2330"> ; convert the number parameter to string<br/> PRINT â€œResult: â€ + STR 5	; print â€œResult: 5”<br/> PRINT 10 * STR 5	; print 5555555555<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2330"> ; convert the number parameter to string<br/> PRINT “Result: ” + STR 5 ; print “Result: 5”<br/> PRINT 10 * STR 5 ; print 5555555555<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2340">SQRT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2350"> PRINT SQRT 100		; print 10, square root of 100<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2350"> PRINT SQRT 100 ; print 10, square root of 100<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2360">SIN</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2370"> PRINT SIN 90 * PI/180	; print 1.0 (sinus of 90° in radians)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2370"> PRINT SIN 90 * PI/180 ; print 1.0 (sinus of 90° in radians)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2380">COS</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2390"> PRINT COS 0 * PI/180	; print 1.0 (sinus of 0° in radians)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2390"> PRINT COS 0 * PI/180 ; print 1.0 (sinus of 0° in radians)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2400">ROUND</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2410"> PRINT ROUND 3.8	; print 4 (rounding 3.8)<br/> PRINT ROUND RANDOM 100	; random integer number (0 <= x <= 100)<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2410"> PRINT ROUND 3.8 ; print 4 (rounding 3.8)<br/> PRINT ROUND RANDOM 100 ; random integer number (0 <= x <= 100)<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2420">ABS</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2430"> PRINT ABS -10		; print 10, absolute value of -10<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2430"> PRINT ABS -10 ; print 10, absolute value of -10<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2440">COUNT</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2450"> PRINT COUNT â€œtext”	; print 4, character count of â€œtext”<br/> PRINT COUNT [1, 2, 3]	; print 3, size of the list<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2450"> PRINT COUNT “text” ; print 4, character count of “text”<br/> PRINT COUNT [1, 2, 3] ; print 3, size of the list<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2460">SET</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2470"> ; Convert list to Python set<br/> PRINT SET [4, 5, 6, 6]	; print {4, 5, 6}<br/> PRINT SET [4, 5, 6, 6] | SET [4, 1, 9]	; print {1, 4, 5, 6, 9}, union<br/> PRINT SET [4, 5, 6, 6] & SET [4, 1, 9]	; print {4}, intersection<br/> PRINT SET ([4, 5, 6, 6]) - SET [4, 1, 9]	; print {5, 6}, difference<br/> PRINT SET [4, 5, 6, 6] ^ SET [4, 1, 9]	; print {1, 5, 6, 9}, symmetric difference  <br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2470"> ; Convert list to Python set<br/> PRINT SET [4, 5, 6, 6] ; print {4, 5, 6}<br/> PRINT SET [4, 5, 6, 6] | SET [4, 1, 9] ; print {1, 4, 5, 6, 9}, union<br/> PRINT SET [4, 5, 6, 6] & SET [4, 1, 9] ; print {4}, intersection<br/> PRINT SET ([4, 5, 6, 6]) - SET [4, 1, 9] ; print {5, 6}, difference<br/> PRINT SET [4, 5, 6, 6] ^ SET [4, 1, 9] ; print {1, 5, 6, 9}, symmetric difference  <br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2480">RANGE</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2490"> ; Python-like list generation<br/> PRINT RANGE 10	; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]<br/> PRINT RANGE 3 10	; print [3, 4, 5, 6, 7, 8, 9]<br/> PRINT RANGE 3 10 3	; print [3, 6, 9]<br/> <br/> FOR i in RANGE 10 50 10 [	; loop for [10, 20, 30, 40]<br/>   FORWARD i<br/>   LEFT 90<br/> ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2490"> ; Python-like list generation<br/> PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]<br/> PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]<br/> PRINT RANGE 3 10 3 ; print [3, 6, 9]<br/> <br/> FOR i in RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]<br/>   FORWARD i<br/>   LEFT 90<br/> ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2500">LIST</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2510"> ; remove the repeating elements of a list using set and list conversion<br/> PRINT LIST (SET [1, 3, 5, 5, 2, 1])	; print [1, 3, 5, 2]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2510"> ; remove the repeating elements of a list using set and list conversion<br/> PRINT LIST (SET [1, 3, 5, 5, 2, 1]) ; print [1, 3, 5, 2]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2520">TUPLE</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_2530">Conversion to Python tuple (non-modifiable list)</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2540"> PRINT TUPLE [4, 5]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2540"> PRINT TUPLE [4, 5]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2550">SORTED</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_2560">It returns with a sorted list.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2570"> PRINT SORTED [5, 1, 3, 4]	; print [1, 3, 4, 5]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2570"> PRINT SORTED [5, 1, 3, 4] ; print [1, 3, 4, 5]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2580">SUB</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_2590">Substitue character sequences using regex (regular expression) patterns.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2600"> PRINT SUB (“t”, â€œT”, â€œtext”)	; print â€œText”, replacing â€œt” with â€œT”<br/> PRINT SUB (“(.)”, â€œ\\1\\1”, â€œtext”) ; print â€œtteexxtt”, doubling every characters<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2600"> PRINT SUB (“t”, “T”, “text”) ; print “Text”, replacing “t” with “T”<br/> PRINT SUB (“(.)”, “\\1\\1”, “text”) ; print “tteexxtt”, doubling every characters<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2610">SEARCH</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_2620">Search character sequences patterns using regex patterns.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2630"> IF SEARCH (“\w”, word) [ PRINT â€œLetter in the word.” ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2630"> IF SEARCH (“\w”, word) [ PRINT “Letter in the word.” ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2640">FINDALL</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_2650">Find all character sequences in the input string matching the given regex pattern.</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2660"> PRINT FINDALL(“\w+”, â€œDogs, cats.”)	; print [“Dogs”, â€œcats”], the list of the words.<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2660"> PRINT FINDALL(“\w+”, “Dogs, cats.”) ; print [“Dogs”, “cats”], the list of the words.<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2670">MIN</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2680"> PRINT MIN [1, 2, 3]	; print 1, the lowest element of the list<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2680"> PRINT MIN [1, 2, 3] ; print 1, the lowest element of the list<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_2690">MAX</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2700"> PRINT MAX [1, 2, 3]	; print 3, the greatest element of the list<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2700"> PRINT MAX [1, 2, 3] ; print 3, the greatest element of the list<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_2710">Color constants</paragraph>
-<paragraph role="code" xml-lang="en-US" id="par_2720"> PENCOLOR â€œSILVER”	; set by name<br/> PENCOLOR [1]		; set by identifiers<br/> PENCOLOR â€œ~SILVER”	; random silver color<br/> <br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_2720"> PENCOLOR “SILVER” ; set by name<br/> PENCOLOR [1] ; set by identifiers<br/> PENCOLOR “~SILVER” ; random silver color<br/> <br/></paragraph>
 <table><tablerow>
 <tablecell><paragraph role="tablecontent" xml-lang="en-US" id="par_2740">Identifier</paragraph></tablecell>
 <tablecell><paragraph role="tablecontent" xml-lang="en-US" id="par_2750">Name</paragraph></tablecell>


More information about the Libreoffice-commits mailing list