[Libreoffice-bugs] [Bug 125180] Bad behaviour in BASIC procedure with several optional parameters.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 5 11:51:42 UTC 2020


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

--- Comment #8 from Andreas Heinisch <andreas.heinisch at yahoo.de> ---
I investigated the error and I think I need some clarifications: 

- in VB the function IsMissing works only with variant datatypes
- in LO IsMissing works or should work even with other datatypes?!? In the
majority of the cases it works :). I does not work in the case, where the
missing parameter is before any non missing parameters, e.g.,
SubTwoParameters(,2)

Because, if I change the method signature to variant datatypes, everything
works as expected:
SubTwoParameters(optional lPar1 as variant, optional lPar2 as variant)

Any thoughts?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200305/388ddd35/attachment.htm>


More information about the Libreoffice-bugs mailing list