Available Options in Basic

Creating a macro - Writing a Script - Using the API

Available Options in Basic

Postby TAB » Thu Sep 27, 2012 6:39 pm

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,...
TAB
 
Posts: 282
Joined: Sun Feb 24, 2008 5:04 am

Re: available Options in Basic

Postby hanya » Thu Sep 27, 2012 7:56 pm

http://opengrok.adfinis-sygroup.org/sou ... er.cxx#751
Code: Select all   Expand viewCollapse view
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
hanya
Volunteer
 
Posts: 885
Joined: Fri Nov 23, 2007 9:27 am
Location: Japan


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 8 guests