Consider the code: Sub TestCallingVariable Dim Month MsgBox Month(Now) End Sub Running this gives an empty message box. This is a simplified user error case, where the built-in Month [1] was redefined locally as a variable. The problem here is that there is no error suggesting that Month(Now) makes no sense: Month local variable is neither a function, nor an array. [1] https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03030104.html?DbPAR=BASIC
Hello Mike! It seems to me that this is part of the overall picture: Basic ignores "extra parameters". Option Explicit Sub Test1 Dim a Msgbox a(1) ' Empty string Msgbox abs(1, 2, 3, 4) ' 1 End Sub
Possibly related code: SbUnoObject::Notify e.g., https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbunoobj.cxx?r=8f008bf4#2176