Bug 136213 - Documentation regarding String type in BASIC needs clarifications
Summary: Documentation regarding String type in BASIC needs clarifications
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.1.0
Keywords:
Depends on: Macro-Documentation
Blocks: HelpGaps-NewFeatures
  Show dependency treegraph
 
Reported: 2020-08-28 08:17 UTC by Mike Kaganski
Modified: 2020-10-22 04:23 UTC (History)
2 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 Mike Kaganski 2020-08-28 08:17:03 UTC
Our help regarding String type and related functions (e.g., Mid) needs clarifications:

1. There's no mention that indexing of characters starts from 1. (This may be confusing, when users don't see the difference between UNO API, where normal is 0-based indexing, and BASIC functions.)
2. There are multiple mentions of "max characters is 65535". This is wrong; actually, strings may be as long as 2G characters.

See e.g.:

https://help.libreoffice.org/7.0/en-US/text/sbasic/shared/01020100.html#hd_id3148742
https://help.libreoffice.org/7.0/en-US/text/sbasic/shared/03120306.html
Comment 1 Commit Notification 2020-09-02 23:43:00 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/1476465fc35ec2162a513ebc668fed82ed77397b

tdf#136213 Basic string functions update