Files
odfstudio/basic
Neil Roberts e2af4c9f81 basic: Add unit test asserting that array arguments can’t have size
Adds a short unit test to assert that if you try to put a size inside
the brackets for the declaration of an array argument to a subroutine
then the compiler will report an error.

See this comment for an example of how it would be easy to break this
behaviour:

https://gerrit.libreoffice.org/c/core/+/203437/comment/749269bd_f55ea943/

Change-Id: I048234c7cf5a13e2ab2b71885ea1c0455566decf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205369
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
2026-05-19 20:23:21 +02:00
..
…
…
…

StarBASIC Interpreter

Contains the StarBASIC Interpreter

This implements a macro language that, when in VBA compatibility mode, is intended to be interoperable with Visual Basic for Applications, allowing people to run macros embedded in their documents.

See also

http://wiki.openoffice.org/wiki/Basic