Bug 150369 - The explanation of the help page about the BASIC IsMissing Function is incorrect.
Summary: The explanation of the help page about the BASIC IsMissing Function is incorr...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: BogdanB
URL:
Whiteboard: target:7.5.0
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-11 09:11 UTC by nobu
Modified: 2022-11-07 19:22 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nobu 2022-08-11 09:11:30 UTC
Description:
https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03104000.html

It will be the opposite of the explanation of the function.


Steps to Reproduce:
1. Open the IsMissing Function Help

  https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03104000.html


Actual Results:
The explanation is
If the IsMissing function is called by the ArgumentName, Then True is returned.


Expected Results:
If the IsMissing function [isn't] called by the ArgumentName, Then True is returned.

Or

If the IsMissing function is called by the ArgumentName, Then [False] is returned.



Reproducible: Always


User Profile Reset: No



Additional Info:
None
Comment 1 Mike Kaganski 2022-08-11 09:41:26 UTC
What could even "If the IsMissing function is called by the ArgumentName, then True is returned" be supposed to mean?

Unless there is some cryptic meaning hidden behind "function called *by* argument", the correct description would be

> Returns True if ArgumentName has an assigned value in the caller function, False otherwise

or something in the line.
Comment 2 Mike Kaganski 2022-08-11 09:47:02 UTC
See also: VBA documentation [1].

Note that our documentation should also mention differences in different compatibility modes (normal, Option Compatible, Option VBASupport) [2].

[1] https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/ismissing-function
[2] https://gerrit.libreoffice.org/c/core/+/87550
Comment 3 BogdanB 2022-11-06 18:56:04 UTC
If you agree I will try to change to this:

--------------------
IsMissing returns True if no value has been passed for the ArgumentName; otherwise, it returns False.
--------------------


Mike?
Comment 4 Commit Notification 2022-11-07 18:53:38 UTC
Bogdan B committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/0e8131128326f9a2f8476bf3b72f9a7b45476750

tdf#150369 IsMissing Function explanation