Howdy, To the best of my knowledge those are it.
You would need to recreate those once and then include them in later projects. It's a common thing for folks to do, make their own include library with such. In fact you might want to look at the Access2Base library in the libreoffice distribution, I believe the author may have defined a number of constants (the whole library recreated VBA functions for use in LibreOffice), it may be that what you are looking for is already there you would simply need to load it at runtime. Not to mention you might find some others things there, coming from a VBA background, useful. Best wishes, Drew On Sun, Jul 22, 2018 at 4:26 PM Johnny Rosenberg <[email protected]> wrote: > Hi! > > I have done some searching and finally I found this at > https://wiki.openoffice.org/wiki/Documentation/BASIC_Guide/Constants: > > ”OpenOffice.org Basic predefines several constants. Among the most useful > are: > > - True and False, for Boolean assignment statements > - PI as a type Double numeric value” > > I assume this is true for LibreOffice as well, but I can't find the rest of > the ”several constants”. > > At work a use Excel (I don't really want to and it's full of bugs, but at > least I get paid…) and I wrote some macros in VBA. VBA has a lot of > predefined constants, for instance vbNewLine and a lot more, and I'm now > trying to find out what constants are available in LibreOffice Basic, since > LibreOffice is what I use exclusively at home, so I don't have to reinvent > the wheel. > > So a link to a list of ALL predefined Basic constants would be very > appreciated. > > Kind regards > > Johnny Rosenberg > > -- > To unsubscribe e-mail to: [email protected] > Problems? > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette > List archive: https://listarchives.libreoffice.org/global/users/ > Privacy Policy: https://www.documentfoundation.org/privacy > -- To unsubscribe e-mail to: [email protected] Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
