This is a follow up of bug#84675. Document BASIC constants as shown in the attachment: https://bug-attachments.documentfoundation.org/attachment.cgi?id=133083 For example constant MB_ABORTRETRYIGNORE Sub Main MsgBox "Really?", MB_ABORTRETRYIGNORE End Sub Page to touch: sbasic/shared/03040000.xhp See https://helponline.libreoffice.org/7.2/en-US/text/sbasic/shared/03040000.html?&DbPAR=WRITER&System=UNIX Note: likely to be a table with many localize="false" attributes. NOte2: some constants already documented in page.
MsgBox constants to incorporate are present in: https://helponline.libreoffice.org/7.2/en-US/text/sbasic/shared/03010101.html?DbPAR=BASIC
Created attachment 169783 [details] List of undocumented basic constants
VatType Basic missing constants are available in https://help.libreoffice.org/7.2/en-US/text/sbasic/shared/03103600.xhp VarType VBA missing constants are available from https://opengrok.libreoffice.org/xref/core/oovbaapi/ooo/vba/VbVarType.idl and being patched in https://gerrit.libreoffice.org/c/core/+/109964 Many others are available from Access2Base.acConstants but I doubt they've been incorporated in Basic/QA so far...
Created attachment 169793 [details] Documentation Status of Constants Considering the constants originally attached, I compiled a list of the constants that have already been documented in the Help system. However, for those that have not been documented yet, I'm not so sure if there's a use case for them in Basic scripting.
Moving to NEW
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/23b0b440515592c9b9ed2fe8e64783ea55375375 tdf#140446 VBA constants for variable type