The following simple basic macro does not work anymore in LibreOffice 7.0:
Dim a(2) as Integer
a(0) = 10
a(1) = 20
a(2) = 30
For Each n In a()
The macro should successively display the numbers 10, 20 and 30. Instead, an error message is given (at first iteration):
'Inadmissible value or data type. Data type mismatch.'
The macro works as expected in LibreOffice 18.104.22.168.
Tested in Ubuntu 20.04.1 LTS, LibreOffice 22.214.171.124 obtained from www.libreoffice.org.
Please note that this problem breaks the TexMaths extension (on Linux and Windows systems).
*** This bug has been marked as a duplicate of bug 135470 ***