Available Options in Basic

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
TAB
Posts: 283
Joined: Sun Feb 24, 2008 5:04 am

Available Options in Basic

Post by TAB »

OpenOffice.org Basic provides a switch called:
Option Explicit
Where is the list of available Options? I searched for 'switch' and 'options' without success --of course; 'option' has many meanings!
There should be an 'Options' item under 'The Language of OpenOffice.org Basic', together with Strings, Numbers,...
hanya
Volunteer
Posts: 885
Joined: Fri Nov 23, 2007 9:27 am
Location: Japan

Re: available Options in Basic

Post by hanya »

http://opengrok.adfinis-sygroup.org/sou ... er.cxx#751

Code: Select all

Option Explicit: To make variables must be defined before to use.
Option Base 0/1: Change array starting index to 1.
Option Private Module: (VBA) Hide procedures from UI (not working).
Option Compare Binary/Text: (VBA) Change comparison mode of string. (not working?, see Andrew's OpenOffice.org Macros Explained.
Option Compatible: VBA compatibility on.
Option ClassModule: (VBA) Make module as class module.
Option VBASupport 0/1: Switch VBA suppport mode, Compatible is also on.
VBA mode is not 100% compatible and not finished to be implemented.
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
Post Reply