[Libreoffice-bugs] [Bug 125763] New: HELP: Wrong help text for variable type declaration
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 6 20:54:27 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=125763
Bug ID: 125763
Summary: HELP: Wrong help text for variable type declaration
Product: LibreOffice
Version: 6.2.2.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Documentation
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: gerhard.weydt at t-online.de
CC: olivier.hallot at documentfoundation.org
The following text section in the help for "Using variables" for Basic (the URL
on my computer is
file:///C:/Program%20Files/LibreOffice/help/en-GB/text/sbasic/shared/01020100.html?DbPAR=BASIC#bm_id3149346
) seems to be wrong:
It is very important when declaring variables that you use the type-declaration
character each time, even if it was used in the declaration instead of a
keyword. Thus the following statements are invalid:
Dim a$ Declares "a" as a String
a="TestString" Type-declaration missing: "a$="
I tested it, it works without a$ in the second statement. The text is probably
outdated for a long time.
The sentence, by the way, seems to me badly constructed, "even" is misplaced,
and the meaning is not very clear. I understand that the meaning is: "if you
use the type-declaration character in the declaration, then you must use it in
all statements using this variable". I add this for the case that my test was
incomplete, and a suitable help text is still necessary.
--
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/20190606/cb29734f/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list