Description: On the following help page: ○ https://help.libreoffice.org/6.2/en-US/text/swriter/librelogo/LibreLogo.html It states: [[[... • Alternative parenthesization in function calls TO star size color FILLCOLOR color REPEAT 5 [ LEFT 72 FORWARD size RIGHT 144 FORWARD size ] FILL END star 100 “red” star (100, “green”) star(100, “blue”) ...]]] You will get an error on line 8; this is incorrect line: star (100, “green”) When using parenthesis after a function call, you cannot have a space. This line should simply be deleted from the documentation, as when corrected, it is the same as the following (correct) statement: star(100, “blue”) System Info: Version: 6.3.5.2 (x64) Build ID: dd0751754f11728f69b42ee2af66670068624673 CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; Locale: en-US (en_US); UI-Language: en-US Calc: threaded Steps to Reproduce: 1. Enter the following text in Writer: TO star size color FILLCOLOR color REPEAT 5 [ LEFT 72 FORWARD size RIGHT 144 FORWARD size ] FILL END star 100 “red” star (100, “green”) star(100, “blue”) 2. Click [Run] button from LibreOffice Writer LibreLogo Toolbar Actual Results: Error on Line 8 Expected Results: It successfully calls the [star] function, & redraws a green star over the prior red star... and continues execution. Reproducible: Always User Profile Reset: No Additional Info: The help documentation on the following page needs corrected: https://help.libreoffice.org/6.2/en-US/text/swriter/librelogo/LibreLogo.html Both UserProfile & OpenGL are irrelevant to this problem.
@László Németh, do you agree with the description ?
Indeed, that line is obsolete from LibreOffice 6.2: Compiling Logo expressions to Python, i.e. adding parentheses at the right places uses a parser instead of the former heuristic method. Thus, you can write arbitrarily complex expressions, either in combination with Python lists, and calling own Logo functions with more than one argument without parentheses. Note: In LibreLogo expressions you can use Logo and Python syntaxes at one time. To avoid conflict, now parenthesis directly following the function name, eg. in “sin(x) * 2” denotes Python syntax, (meaning 2·sin(x)), while the space separated version, eg. “sin (x) * 2”, denotes Logo syntax (meaning “sin(2·x)”, as the simpler Logo expression “sin x * 2”). (http://librelogo.org/2018/11/16/improvements-in-libreoffice-6-2/) Thanks for your bug report! I am going to fix it soon.
Dear László Németh, This bug has been in ASSIGNED status for more than 3 months without any activity. Resetting it to NEW. Please assign it back to yourself if you're still working on this.
Change waiting for review here: https://gerrit.libreoffice.org/c/help/+/143577
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/a222befecb3808d06b6ae208cff9a055892051e4 tdf#131075: LibreLogo Help Incorrect ~ Function Calls