To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=84407
                 Issue #|84407
                 Summary|Conversion between byte array and string
               Component|framework
                 Version|OOo 2.3
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|scripting
             Assigned to|ab
             Reported by|pflin





------- Additional comments from [EMAIL PROTECTED] Mon Dec 10 02:54:38 +0000 
2007 -------
The following macro can be run in MS Office, while fail in OOo.
Sub main()
    Dim MyString As String
    Dim x() As Byte
    MyString = "abc"
    MsgBox (MyString) ' abc
    x = MyString ' string -> byte array
    MsgBox UBound(x) ' 6 bytes
    MsgBox (x) ' abc
    MyString = x 'byte array -> string
    MsgBox MyString
End Sub

The conversion between byte array to string is common to use in MS Office, so I
think it is necessary to have same feature for OOo Basic.

---------------------------------------------------------------------
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