Content deleted Content added
David Gerard (talk | contribs) this image doesn't add to or inform the article in any way (and OOo BASIC is really not that modern) |
m →Example: <syntaxhighlight lang="vb"> |
||
Line 5:
Although OpenOffice Basic itself 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="oobas">
Sub ParaCount
'
|