To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105331
                 Issue #|105331
                 Summary|Dir function in Basic gives wrong result if drive does
                        | not exist
               Component|scripting
                 Version|OOO310m11
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|jspruit





------- Additional comments from [email protected] Thu Sep 24 13:37:07 
+0000 2009 -------
If drive L: does NOT exist then the open office basic code:
Sub test
msgbox  Dir("C:\*.*") 'gives first file in root of C:\ (correct)
msgbox  Dir("L:\*.*") 'gives second file in root of C:\ in stead of empty 
string, i.e. behaves as "Dir" without specifications.
End sub

If Dir("L:\*.*") is not preceded by a first dir command, it behaves correctly 
(empty string)

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