To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=61072
                  Issue #:|61072
                  Summary:|Basic statement "name as" throws wrong error code
                Component:|scripting
                  Version:|OOo 2.0.1
                 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:|regina





------- Additional comments from [EMAIL PROTECTED] Mon Jan 23 15:42:11 -0800 
2006 -------
I use German OOo2.0.1 on German WinXP Home.

Try the following script:
Sub Main
On Error Goto Fehler
Name "c:\temp\dummy.txt" as "c:\temp\dummy.sav"
msgBox "Name as done"
exit sub
Fehler:
msgbox "Fehler Nr."& err & " Text="& error$
exit sub
End Sub

Make sure you haven't got a directory temp or you haven't got a file dummy.txt.
Then "Name as" should throw error "76 Path not found" or error "53 File not
found". But it throws error 0.

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