Issue 49313 - Basic Programmer's Guide contains mistake
Summary: Basic Programmer's Guide contains mistake
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: smaug42
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-15 16:35 UTC by christianjunker
Modified: 2013-02-24 21:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description christianjunker 2005-05-15 16:35:00 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.
"""
Comment 1 christianjunker 2005-09-10 23:25:37 UTC
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"?
Comment 2 jsc 2006-01-18 14:49:31 UTC
JSc -YJ: This is probably one for you but i am not 100% sure if you maintain the
basic guide
Comment 3 yvonne.jacoby 2006-02-06 13:46:43 UTC
re-targeted
Comment 4 jsc 2006-10-23 09:15:00 UTC
change owner
Comment 5 jsc 2006-10-23 09:22:27 UTC
accepted
Comment 6 jsc 2006-10-23 09:25:26 UTC
jsc -fpe: i will take care of the devguid eissues but this is the Basic guide
Comment 7 frank.thomas.peters 2007-10-02 09:46:43 UTC
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
Comment 8 frank.thomas.peters 2008-04-30 13:50:27 UTC
Clayton, please verify and close, if ok
Comment 9 smaug42 2008-06-06 14:48:46 UTC
Verified