Apache OpenOffice (AOO) Bugzilla – Issue 49313
Basic Programmer's Guide contains mistake
Last modified: 2013-02-24 21:06:44 UTC
The StarOffice 7 Programmer's Guide - which is the only official guide for the SO/OOo Scripting language - has a mistake on page 59 (http://docs-pdf.sun.com/817-1826/817-1826.pdf). There it says: """ ResultString = InStr (SearchString, MyString) The SearchString parameter specifies the string to be searched for within MyString. """ This is wrong. The first parameter of InStr is the string to be searched in, not the second. So the corrected text would be: """ ResultString = InStr (MyString, SearchString) The SearchString parameter specifies the string to be searched for within MyString. """
reassigning to jsc. jsc: Should issues regarding StarOffice Programmer's Guide live in OOo IZ or is there a more appropriate place for them? There are some 1-2 other issues concerning the SO Programmer's Guide here, what do you think about creating a task issue named "SO Programmer's Guide"?
JSc -YJ: This is probably one for you but i am not 100% sure if you maintain the basic guide
re-targeted
change owner
accepted
jsc -fpe: i will take care of the devguid eissues but this is the Basic guide
The BASIC Guide is now available as open source under PDL on the OOo wiki: http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide Fixed on the wiki: http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide/Strings_%28Runtime_Library%29#Search_and_Replace
Clayton, please verify and close, if ok
Verified