To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42467
                  Issue #:|42467
                  Summary:|vbNullChar has length zero.
                Component:|framework
                  Version:|680m74
                 Platform:|All
                      URL:|
               OS/Version:|Windows XP
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|scripting
              Assigned to:|npower
              Reported by:|pitonyak





------- Additional comments from [EMAIL PROTECTED] Thu Feb 10 12:53:40 -0800 
2005 -------
The new vbNullChar variable has a length of zero. I assumed that this would be a
string of length one containing CHR$(0). I verified the other new compatible
strings are correct..... So, did I miss something....

Option Compatible
Sub TestOC
  Print Len(vbNullChar)  ' This is zero! This is wrong
  Print Len(vbNullString)' This is zero! This is correct
  Print Len(vbNewLine)   ' 1 or 2 depending on OS, this is correct
End Sub

I was a little bit surprised that I could not simply set CompatibilityMode(True)
before I used these new strings... 

Yes, I did indeed check the actual values rather than just the lengths!

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