<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.harlamenkov.ru/index.php?action=history&amp;feed=atom&amp;title=Documentation%2FBASIC_Guide</id>
	<title>Documentation/BASIC Guide - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.harlamenkov.ru/index.php?action=history&amp;feed=atom&amp;title=Documentation%2FBASIC_Guide"/>
	<link rel="alternate" type="text/html" href="https://wiki.harlamenkov.ru/index.php?title=Documentation/BASIC_Guide&amp;action=history"/>
	<updated>2026-11-11T14:11:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.harlamenkov.ru/index.php?title=Documentation/BASIC_Guide&amp;diff=20723&amp;oldid=prev</id>
		<title>Sancho: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.harlamenkov.ru/index.php?title=Documentation/BASIC_Guide&amp;diff=20723&amp;oldid=prev"/>
		<updated>2012-03-30T09:00:25Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 09:00, 30 March 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Sancho</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.harlamenkov.ru/index.php?title=Documentation/BASIC_Guide&amp;diff=20722&amp;oldid=prev</id>
		<title>Sancho: Correct link fa:FA/Documentation/BASIC_Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.harlamenkov.ru/index.php?title=Documentation/BASIC_Guide&amp;diff=20722&amp;oldid=prev"/>
		<updated>2011-03-12T08:39:19Z</updated>

		<summary type="html">&lt;p&gt;Correct link fa:FA/Documentation/BASIC_Guide&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation/BASICGuideTOC/v2&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|ShowPrevPage=none&lt;br /&gt;
|NextPage=Documentation/BASIC Guide/Language&lt;br /&gt;
}}&lt;br /&gt;
{{DISPLAYTITLE:{{OOo}} BASIC Programming Guide}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Download_Collection|MediaWiki:Collections/BASIC_Guide}}&lt;br /&gt;
&lt;br /&gt;
This guide provides an introduction to programming with {{OOo}} Basic. To get the most out of this book, you should be familiar with other programming languages. Extensive examples are provided to help you quickly develop your own {{OOo}} Basic programs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip|{{OOo}} offers a complete user interface for developing programs in Basic. It is described in the chapter [[Documentation/DevGuide/Basic/OpenOffice.org_Basic|{{OOo}} Basic]] of the Developer's Guide. Before attempting to write macros you should read  [[Documentation/DevGuide/Basic/First_Steps_with_OpenOffice.org_Basic|First Steps with OpenOffice.org Basic]] and the pages on [[Documentation/DevGuide/Basic/OpenOffice.org_Basic_IDE|OpenOffice.org Basic IDE]]. Since other pages of the Developer's Guide on Basic are technical details for experienced Basic programmers, you should then read this Basic Programming Guide.}}&lt;br /&gt;
&lt;br /&gt;
This guide divides information about {{OOo}} administration into several chapters. The first three chapters introduce you to {{OOo}} Basic:&lt;br /&gt;
&lt;br /&gt;
* [[Documentation/BASIC Guide/Language|The Language of {{OOo}} Basic]]&lt;br /&gt;
* [[Documentation/BASIC Guide/Runtime_Library|Runtime Library]]&lt;br /&gt;
* [[Documentation/BASIC Guide/API_Intro|Introduction to the API]]&lt;br /&gt;
&lt;br /&gt;
These chapters provide an overview of {{OOo}} Basic and should be read by anyone who intends to write {{OOo}} Basic programs. The remaining chapters describe the individual components of the {{OOo}} API in more detail and can be read selectively as required:&lt;br /&gt;
&lt;br /&gt;
* [[Documentation/BASIC Guide/Documents|Working with Documents]]&lt;br /&gt;
* [[Documentation/BASIC Guide/Text Documents|Text Documents]]&lt;br /&gt;
* [[Documentation/BASIC Guide/Spreadsheets|Spreadsheet Documents]]&lt;br /&gt;
* [[Documentation/BASIC Guide/Drawings Presentations|Drawings and Presentations]]&lt;br /&gt;
* [[Documentation/BASIC Guide/Charts|Charts (Diagrams)]]&lt;br /&gt;
* [[Documentation/BASIC Guide/Database|Databases]]&lt;br /&gt;
* [[Documentation/BASIC Guide/Dialogs|Dialogs]]&lt;br /&gt;
* [[Documentation/BASIC Guide/Forms|Forms]]&lt;br /&gt;
&lt;br /&gt;
==About {{OOo}} Basic==&lt;br /&gt;
&lt;br /&gt;
The {{OOo}} Basic programming language has been developed especially for {{OOo}} and is firmly integrated in the Office package.&lt;br /&gt;
&lt;br /&gt;
As the name suggests, {{OOo}} Basic is a programming language from the Basic family. Anyone who has previously worked with other Basic languages — in particular with Visual Basic or Visual Basic for Applications (VBA) from Microsoft — will quickly become accustomed to {{OOo}} Basic. Large sections of the basic constructs of {{OOo}} Basic are compatible with Visual Basic.&lt;br /&gt;
&lt;br /&gt;
The {{OOo}} Basic programming language can be divided into four components:&lt;br /&gt;
&lt;br /&gt;
* The language of {{OOo}} Basic: Defines the elementary linguistic constructs, for example, for variable declarations, loops, and functions.&lt;br /&gt;
* The runtime library: Provides standard functions which have no direct reference to {{OOo}}, for example, functions for editing numbers, strings, date values, and files.&lt;br /&gt;
* The {{OOo}} API (Application Programming Interface): Permits access to {{OOo}} documents and allows these to be created, saved, modified, and printed.&lt;br /&gt;
* The Dialog Editor: Creates personal dialog windows and provides scope for the adding of control elements and event handlers.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/VBAnote|Compatibility between {{OOo}} Basic and VBA relates to the {{OOo}} Basic language as well as the runtime library. The {{OOo}} API and the Dialog Editor are not compatible with VBA (standardizing these interfaces would have made many of the concepts provided in {{OOo}} impossible).}}&lt;br /&gt;
&lt;br /&gt;
==Intended Users of {{OOo}} Basic==&lt;br /&gt;
&lt;br /&gt;
The scope of application for {{OOo}} Basic begins where the standard functions of {{OOo}} end. Routine tasks can therefore be automated in {{OOo}} Basic, links can be made to other programs — for example to a database server — and complex activities can be performed at the press of a button by using predefined scripts.&lt;br /&gt;
&lt;br /&gt;
{{OOo}} Basic offers complete access to all {{OOo}} functions, supports all functions, modifies document types, and provides options for creating personal dialog windows.&lt;br /&gt;
&lt;br /&gt;
==Use of {{OOo}} Basic==&lt;br /&gt;
&lt;br /&gt;
{{OOo}} Basic can be used by any {{OOo}} user without any additional programs or aids. Even in the standard installation, {{OOo}} Basic has all the components needed to create its own Basic macros, including:&lt;br /&gt;
&lt;br /&gt;
* The integrated development environment (IDE) which provides an editor for creating and testing macros.&lt;br /&gt;
* The interpreter, which is needed to run {{OOo}} Basic macros.&lt;br /&gt;
* The interfaces to various {{OOo}} applications, which allow for direct access to Office documents.&lt;br /&gt;
&lt;br /&gt;
==More Information==&lt;br /&gt;
&lt;br /&gt;
The components of the {{OOo}} API that are discussed in this guide were selected based on their practical benefits for the {{OOo}} Basic programmer. In general, only parts of the interfaces are discussed. For a more detailed picture, see [http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html the API reference].&lt;br /&gt;
&lt;br /&gt;
The [[Documentation/DevGuide/OpenOffice.org_Developers_Guide|Developer's Guide]] describes the {{OOo}} API in more detail than this guide, but is primarily intended for Java and C++ programmers. Anyone who is already familiar with {{OOo}} Basic programming can find additional information in the Developer's Guide on {{OOo}} Basic and {{OOo}} programming.&lt;br /&gt;
&lt;br /&gt;
Programmers who want to work directly with Java or C++ rather than {{OOo}} Basic should consult the {{OOo}} Developer's Guide instead of this guide. {{OOo}} programming with Java or C++ is a considerably more complex process than programming with {{OOo}} Basic.&lt;br /&gt;
&lt;br /&gt;
{{InterWiki Languages BasicGuide|articletitle=Documentation/BASIC Guide}}&lt;br /&gt;
{{PDL1}}&lt;br /&gt;
[[fa:FA/Documentation/BASIC_Guide]]&lt;/div&gt;</summary>
		<author><name>Sancho</name></author>
		
	</entry>
</feed>