https://bugs.documentfoundation.org/show_bug.cgi?id=151901

Rafael Lima <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Rafael Lima <[email protected]> ---
Indeed, both TypeName and VarType use "Var" as the argument name.

See:
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/stdobj.cxx?r=fbaf865f#869

In MS VBA the argument is called varname.

This might be a VBA compatibility issue. The code below does not work:

Option VBASupport 1

Sub TestVarName
    Dim a As Integer
    MsgBox TypeName(varname := a)
End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to