https://bugs.documentfoundation.org/show_bug.cgi?id=149959
Bug ID: 149959
Summary: "Optional" keyword, "Defining Optional Parameters",
IsMissing (Basic) need clarification about mandatory
check before accessing
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
"Optional" keyword [1], "Defining Optional Parameters" [2], IsMissing [3] all
need some specific statement about requirement to check the optional variant
function arguments using IsMissing (or IsError, IsNumeric, etc.) before
checking its content (like comparing the passed value to something); it may
also be passed to other functions taking optional arguments (so its missing
status would be checked there).
"Defining Optional Parameters" [2] must also discuss differences in behavior of
optional arguments which have variant and fixed types (also with regards to
compatibility options).
Some users are caught by fixes like 522f5ad4d8c92624fffa869143aa869662a48589,
e32d864dbe086d630a8b17c2d376e320aee0253a.
[1]
https://help.libreoffice.org/7.4/en-US/text/sbasic/shared/03104100.html?DbPAR=BASIC
[2]
https://help.libreoffice.org/7.4/en-US/text/sbasic/shared/01020300.html?DbPAR=BASIC#hd_id161584366585035
[3]
https://help.libreoffice.org/7.4/en-US/text/sbasic/shared/03104000.html?&DbPAR=BASIC
--
You are receiving this mail because:
You are the assignee for the bug.