Libraries, Modules and Dialogs
LibreOffice बेसिक में प्रोसीजर तथा फ़ंक्शन का इस्तेमाल निम्न अनुसार वर्णित है:
LibreOffice Basic provides tools to help you structuring your projects. It supports various "units" which enable you to group individual SUBS and FUNCTIONS in a Basic project.
Libraries serve as a tool for organizing modules, and can either be attached to a document or a template. When the document or a template is saved, all modules contained in the library are automatically saved as well.
लाइब्रेरी में 16000 मॉड्यूल हो सकते हैं.
A module contains SUBS and FUNCTIONS along with variable declarations. The length of the program that can be saved in a module is limited to 64 KB. If more space is required you can divide a LibreOffice Basic project among several modules, and then save them in a single library.
Dialog modules contain dialog definitions, including the dialog box properties, the properties of each dialog element and the events assigned. Since a dialog module can only contain a single dialog, they are often referred to as "dialogs".