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,...
Available Options in Basic
Re: available Options in Basic
http://opengrok.adfinis-sygroup.org/sou ... er.cxx#751
VBA mode is not 100% compatible and not finished to be implemented.
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.
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
Apache OpenOffice 4-dev on Xubuntu 14.04