Hi Lucien,
Lucien Mathay schrieb am 06.06.2022 um 18:51:
Thank you Regina, but
if I add an 'endif' at the end of the line
( " if a = b then a=1 Else a=2 endif 'test "),
the compiler fails with the message "Syntax error : unexpectes symbol :
End If".
Indeed, endif is only possible in case if-then, else, endif are on own
lines.
The part 'test is interpreted as
:Rem test
So the comment belongs to the else-Block.
The problem is, that AOO does not end the if-statement with end of the line.
LibreOffice has a different behavior.
Therefore I still consider this as a bug.
You can write an issue on https://bz.apache.org/ooo/.
Kind regards
Regina
---------------------------------------------------------------------
To unsubscribe, e-mail: qa-unsubscr...@openoffice.apache.org
For additional commands, e-mail: qa-h...@openoffice.apache.org