From 56562e9b04dcbfd63012eecddb53b76dc4cee84b Mon Sep 17 00:00:00 2001 From: Stanislav Horacek Date: Sun, 9 Dec 2012 17:47:42 +0100 Subject: [PATCH] fix typos in LibreLogo help --- source/text/swriter/librelogo/LibreLogo.xhp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/text/swriter/librelogo/LibreLogo.xhp b/source/text/swriter/librelogo/LibreLogo.xhp index cac667be2f..f8ab88e8c9 100644 --- a/source/text/swriter/librelogo/LibreLogo.xhp +++ b/source/text/swriter/librelogo/LibreLogo.xhp @@ -171,7 +171,7 @@ POINT POINT ; draw a point with size and color of the pen
LABEL - LABEL “text” ; print text in the turte position
LABEL 'text' ; see above
LABEL "text ; see above (only for single words)
+ LABEL “text” ; print text in the turtle position
LABEL 'text' ; see above
LABEL "text ; see above (only for single words)
TEXT CIRCLE 10 TEXT “text” ; set text of the actual drawing object
Font settings @@ -281,7 +281,7 @@ SIN PRINT SIN 90 * PI/180 ; print 1.0 (sinus of 90° in radians)
COS - PRINT COS 0 * PI/180 ; print 1.0 (sinus of 0° in radians)
+ PRINT COS 0 * PI/180 ; print 1.0 (cosinus of 0° in radians)
ROUND PRINT ROUND 3.8 ; print 4 (rounding 3.8)
PRINT ROUND RANDOM 100 ; random integer number (0 <= x <= 100)
ABS @@ -291,7 +291,7 @@ SET ; Convert list to Python set
PRINT SET [4, 5, 6, 6] ; print {4, 5, 6}
PRINT SET [4, 5, 6, 6] | SET [4, 1, 9] ; print {1, 4, 5, 6, 9}, union
PRINT SET [4, 5, 6, 6] & SET [4, 1, 9] ; print {4}, intersection
PRINT SET ([4, 5, 6, 6]) - SET [4, 1, 9] ; print {5, 6}, difference
PRINT SET [4, 5, 6, 6] ^ SET [4, 1, 9] ; print {1, 5, 6, 9}, symmetric difference
RANGE - ; Python-like list generation
PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]
PRINT RANGE 3 10 3 ; print [3, 6, 9]

FOR i in RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]
FORWARD i
LEFT 90
]
+ ; Python-like list generation
PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]
PRINT RANGE 3 10 3 ; print [3, 6, 9]

FOR i IN RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]
FORWARD i
LEFT 90
]
LIST ; remove the repeating elements of a list using set and list conversion
PRINT LIST (SET [1, 3, 5, 5, 2, 1]) ; print [1, 3, 5, 2]
TUPLE @@ -301,7 +301,7 @@ It returns with a sorted list. PRINT SORTED [5, 1, 3, 4] ; print [1, 3, 4, 5]
SUB -Substitue character sequences using regex (regular expression) patterns. +Substitute character sequences using regex (regular expression) patterns. PRINT SUB (“t”, “T”, “text”) ; print “Text”, replacing “t” with “T”
PRINT SUB (“(.)”, “\\1\\1”, “text”) ; print “tteexxtt”, doubling every characters
SEARCH Search character sequences patterns using regex patterns.