Issue 10272 - Typos in help files in module sbasic in OOo
Summary: Typos in help files in module sbasic in OOo
Status: CLOSED FIXED
Alias: None
Product: documentation
Classification: Unclassified
Component: Manuals (show other issues)
Version: current
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1 Beta2
Assignee: Uwe Fischer
QA Contact: issues@documentation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-22 11:03 UTC by pavel
Modified: 2003-05-06 08:34 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 pavel 2002-12-22 11:03:07 UTC
1. The value of Pi is 3.1415926535 and not the value you have in
   Atn-Function [Runtime] help page:

   Pi is here the fixed circle constant with the value 3.141592657... .

2. The same bug is in Cos-Function [Runtime]. In Cos, there is also a typo
   in the example (calucates).

   REM secant and angle (in degrees) and calucates the length of the
   hypotenuse:

3. There is also a typo in the example of Cos:

   InputBox$ (""Enter

   There are two quotes before Enter...

4. Randomize Statement [Runtime] contains german texts in the comment in Example:

   iVar = Int((10 * Rnd) ) REM Bereich von 0 bis 9

5. The page For...Next Statement [Runtime] contains:

   Variables : Task

   What is it? There is no Task on that page...
Comment 1 pavel 2002-12-22 22:28:09 UTC
pavel@SnowWhite:~/Work/SuSE/OpenOffice/help.original> grep -rl
"3.141592657" *
sbasic/text/sbasic/common/01020100.xml
sbasic/text/sbasic/common/03080101.xml
sbasic/text/sbasic/common/03080102.xml

So the same bug is also in the help page Variables.
Comment 2 pavel 2002-12-22 23:36:40 UTC
There also seems to be bug in MsgBox documentation (twice):

sbasic/common/03010102.xml-  <p class="Paragraph">64 : Add the
Information icon to the dialog.</p> 
sbasic/common/03010102.xml:  <p class="Paragraph">0 : First button in
the dialog as default button.</p> 
sbasic/common/03010102.xml-  <p class="Paragraph">256 : Second button
in the dialog as default button.</p> 

sbasic/common/03010101.xml-  <p class="Paragraph">64 : Add the
Information icon to the dialog.</p> 
sbasic/common/03010101.xml:  <p class="Paragraph">0 : First button in
the dialog as default button.</p> 
sbasic/common/03010101.xml-  <p class="Paragraph">256 : Second button
in the dialog as default button.</p> 


The zero there should be 128, I think.
Comment 3 frank.thomas.peters 2003-03-14 12:28:30 UTC
FPE->UFI: Pls gheck
Comment 4 Uwe Fischer 2003-03-17 12:25:08 UTC
1. changed scalc/01/04060106 and sbasic/common/03080101 for PI.
2. and 3. changed sbasic/common/03080102 for COS.
4. changed sbasic/common/03080301 for Randomize.
5. changed sbasic/common/03090202 for For..Next.
plus changed sbasic/common/03010101 and 02 for 128 instead of 0.
Comment 5 h.ilter 2003-04-30 15:36:27 UTC
Will be checked with master.
Comment 6 Uwe Fischer 2003-05-06 08:34:00 UTC
verified in SO 6.1 Beta2