[Libreoffice-bugs] [Bug 130583] switch() gives "wrong data type" error on reordering value-result pairs
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 14 07:55:53 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=130583
Julien Nabet <serval2412 at yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |serval2412 at yahoo.fr
--- Comment #9 from Julien Nabet <serval2412 at yahoo.fr> ---
It seems type value is taken into account but it's not indicated in help:
see
https://help.libreoffice.org/7.0/en-US/text/scalc/01/func_switch.html?DbPAR=CALC#bm_id571556244875552
It could be interesting someone tests this on Excel.
Indeed,
https://opengrok.libreoffice.org/xref/core/sc/source/core/tool/interpr8.cxx?r=811b36e4#1919
ScInterpreter::ScSwitch_MS so I suppose it mimicks Excel.
https://help.libreoffice.org/7.0/en-US/text/scalc/01/func_switch.html?DbPAR=CALC#bm_id571556244875552
IMHO, either it doesn't mimick Excel enough and code of "switch" should be
changed, or help should be amended.
--
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/20200414/ec166a63/attachment.htm>
More information about the Libreoffice-bugs
mailing list