Issue 38027 - en Help: Wrong description for Imp operator
Summary: en Help: Wrong description for Imp operator
Status: CLOSED FIXED
Alias: None
Product: documentation
Classification: Unclassified
Component: Online help (show other issues)
Version: current
Hardware: PC Windows XP
: P4 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: Uwe Fischer
QA Contact: issues@documentation
URL: /text/sbasic/shared/03060300.xhp
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-28 20:21 UTC by kasey
Modified: 2005-02-01 11:09 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 kasey 2004-11-28 20:21:49 UTC
In /text/sbasic/shared/03060300.xhp, the following four changes are necessary.

Re:
Sub ExampleImp
Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant
Dim vOut as Variant
A = 10: B = 8: C = 6: D = Null
vOut = A > B Imp B > C REM returns -1
vOut = B > A Imp B > C REM returns 0
vOut = A > B Imp B > D REM returns -1
vOut = (B > D Imp B > A) REM returns 0
vOut = B Imp A REM returns -3
End Sub

1. "vOut = B > A Imp B > C REM returns 0"
 -> "vOut = B > A Imp B > C REM returns -1"

2. "vOut = A > B Imp B > D REM returns -1"
 -> " vOut = A > B Imp B > D REM returns 0"

3. "vOut = (B > D Imp B > A) REM returns 0"
 -> "vOut = (B > D Imp B > A) REM returns -1"

4. "vOut = B Imp A REM returns -3"
 -> "vOut = A Imp B REM returns -3"
Comment 1 derekd 2004-12-03 10:35:12 UTC
Reassigning
Comment 2 Uwe Fischer 2004-12-03 10:37:49 UTC
.
Comment 3 Uwe Fischer 2004-12-07 10:51:57 UTC
.
Comment 4 Uwe Fischer 2004-12-15 09:30:11 UTC
changed text\sbasic\shared\03060300.xhp
Comment 5 frank.thomas.peters 2005-01-25 15:22:50 UTC
.
Comment 6 frank.thomas.peters 2005-01-25 15:32:11 UTC
FPE->UFI: I cannot see the last change.
Comment 7 Uwe Fischer 2005-01-26 09:04:55 UTC
The current changed example gives correct results, as I tested.
The last line is not the same as kasey suggested, sorry for that small mistake,
but it is correct as it is.
This is what the help now says:
Sub ExampleImp
Dim A as Variant, B as Variant, C as Variant, D as Variant
Dim vOut as Variant
A = 10: B = 8: C = 6: D = Null
vOut = A > B Imp B > C REM returns -1
vOut = B > A Imp B > C REM returns -1
vOut = A > B Imp B > D REM returns 0
vOut = (B > D Imp B > A) REM returns -1
vOut = B Imp A REM returns -1
End Sub
Comment 8 frank.thomas.peters 2005-02-01 11:08:43 UTC
FPE: Ok, fine then. verified in m75 master
Comment 9 frank.thomas.peters 2005-02-01 11:09:21 UTC
closing