To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110857
                 Issue #|110857
                 Summary|unexpected differences in application char vs basic ch
                        |r functions
               Component|Spreadsheet
                 Version|OOO300m9
                Platform|Other
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|spreadsheet
             Reported by|scoot





------- Additional comments from [email protected] Wed Apr 14 01:03:45 +0000 
2010 -------
note: version is actually OOO300m15 not OOO300m9 if that makes a difference. 
char and chr functions seem to return different results for ascii characters 128
to 159.

What I did:
populate column a rows with values 1 - 255
populate column b rows with values char(a1) - char(a255)
create a function under OOo BASIC for current spreadsheet
Function testchr(acode as Integer) As String
    testchr = Chr(acode)
End Function
populate column c rows with values testchr(a1) - testchr(a255)

fwiw, this does not seem to be the case with excel - char and chr in excel
return the same results

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to