OpenOffice Basic: Difference between revisions

Content deleted Content added
revert vandalism
Chtfn (talk | contribs)
m External links: fix LibreOffice Basic Help link
 
(10 intermediate revisions by 9 users not shown)
Line 1:
{{Short description|Programming language}}
{{no footnotes|date=December 2013}}
'''OpenOffice Basic''' (formerly known as StarOffice Basic or '''StarBasic''' or '''OOoBasic''') is a dialect of the [[programming language]] [[BASIC]] that originated with the [[StarOffice]] [[Productivity software#Office suite|office suite]] and spread through [[OpenOffice.org]] and derivatives such as [[Apache OpenOffice]] and [[LibreOffice]] (where it is known as '''LibreOffice Basic'''). The language is a [[Domain-specific programming language|___domain-specific programming language]] which specifically serves the OpenOffice application suite.
 
== Example ==
Although OpenOffice Basic is similar to other dialects of BASIC, such as [[Microsoft]]'s [[Visual Basic for Applications]] (VBA), the [[application programming interface]] (API) is very different, as the example below of a [[Macro (computer science)|macro]] illustrates. While there is a much easier way to obtain the "paragraph count" document property, the example shows the fundamental methods for accessing each paragraph in a text document, sequentially.
 
<syntaxhighlight lang="vbvbnet">
Sub ParaCount
'
Line 33 ⟶ 34:
 
== See also ==
* [[Comparison of office suites]]
 
== Further reading ==
* {{Cite book|first=James|last=Steinberg|title=Open Office Basic: An Introduction|ISBNyear=2012 |isbn=978-1481270939|publisher=CreateSpace Independent Publishing Platform}}
 
== External links ==
* [http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide OpenOffice.org BASIC Programming Guide] wiki
* [https://help.libreoffice.org/Basiclatest/Basic_Helpen-US/text/sbasic/shared/main0601.html LibreOffice Basic Help]
* [https://www.manfridayit.co.uk/blog/coding-vba-tips-snippets/using-vb-net-to-update-open-office-calc-spreadsheet/ Automating Open Office in VB.NET]
 
{{OpenOffice}}