Talk:OpenOffice Basic

message: Look at http://wiki.services.openoffice.org/wiki/Extensions_development_basic even though it is all about OpenOffice.org Basic I assume it is similar to StarOffice Basic. Jebix 02:55, 6 July 2006 (UTC)
thread_title:  For more information 

message: If they are one and the same why are there 2 names ?? 202.138.120.38 (talk) 09:22, 2 April 2010 (UTC)
replies: text: This page explains it better than I can: What are the differences between StarOffice and OpenOffice.org — Odin_son 15:13, 10 November 2010 (UTC)
thread_title:  Any Difference between Star Basic & OOo Basic 

message: It would perhaps be more useful if both a VBA and OOoBasic version were given to show the differences, rather than a single "look how different this is" piece of code. It may be obvious to some, but to mere mortals like me, it doesn't mean very much. --Yendor1958 09:17, 13 July 2007 (UTC)
replies: text: I agree with the above. I actually use a fair bit of VBA, and I don't see any major differences between VBA and this code. What does this code have to do with the API and what is different? This really needs explanation.--Bkwillwm 03:48, 11 October 2007 (UTC)
replies: text: I do not know much about VBA, so I can not write the VBA version, but the points of interest are that the basic syntax (SUB, DIM, IF...THEN, WHILE...WEND) are the same as in VBA, but the code is specific to the OpenOffice.org API: To test if this is a text document we see if it supports the "com.sun.star.text.TextDocument" service, which is an OpenOffice.org service (see "sun" in the service name) and also the notion of services is specific to this API too. Then to iterate over the text objects within the document we call getText() on the current component and createEnumeration() on the XText object returned by getText(). These are all specific to the OpenOffice.org API. --CyHawk (talk) 13:33, 17 February 2009 (UTC)
thread_title:  API Differences 

message: I don't think that this article should have a piece of example code above the table of contents, shouldn't there be an example section where such code is displayed? — Odin_son 15:21, 10 November 2010 (UTC)
replies: text: Agreed. Done. --LCE(talk contribs) 18:13, 29 August 2011 (UTC)
thread_title:  Code above Contents? 

message: Is TextEl (first appearing in WHILE loop) an implicit declaration of variable? Or something different? It is rendered black, so I had such an impression. --81.198.35.190 (talk) 11:46, 21 May 2012 (UTC)
replies: text: Yes, this is (or was) an implicit declaration. In the absence of an Option Explicit directive, it would define a variable of type Variant, which would work. However, I quite agree that this could be confusing in an example, so I fixed it. --LCE(talk contribs) 14:26, 23 May 2012 (UTC)
replies: text: Thanks!--81.198.35.190 (talk) 18:42, 24 May 2012 (UTC)
thread_title:  TextEl in an example of code in the article 

message: <syntaxhighlight lang="oobas"> is properly not working. The new GeSHi extension doesn't support "oobas" syntax. See https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blob/master/SyntaxHighlight_GeSHi.lexers.php -- Cedar101 (talk) 00:29, 4 August 2015 (UTC)
replies: text: Ah, OK :-) - David Gerard (talk) 11:30, 4 August 2015 (UTC)
thread_title:  The new GeSHi extension doesn't support "oobas" syntax