Re: [udk-dev] StarBasic Kill statement

2006-08-22 Thread Stephan Bergmann

Paolo Mantovani wrote:

again,sorry for the (totally unwanted) misunderstanding


No problem.  I was in a bit of a hurry yesterday so did not read your 
mails too carefully.  Anyway, I meanwhile asked Basic expert Andreas 
Bregas to have a look at these two threads and give helpful comments.


-Stephan


regards
Paolo M


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [udk-dev] StarBasic Kill statement

2006-08-22 Thread Andreas Bregas

Hi Paolo,


The kill statement in StarBasic can delete entire folders
Calling OptionCompatible(True) before does not affect the behavior.
( OOo 2.0.2 )

The documentation doesn't say explicitly that it shouldn't happen but anyway 
it speaks only of files, and never of folders.

Furthermore, there is a specific statement to delete directories ( RmDir )

In VBA if you try to kill a directory you get an error (file not found) so I 
think that this is a compatibility issue.


I agree. This should be fixed for OptionCompatible(True).
I've submitted i68855 and set you on CC. This should be
easy to fix and can be done for 2.1.

Regards

Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [udk-dev] StarBasic Kill statement

2006-08-22 Thread Paolo Mantovani
Hi Andreas,

Alle 15:02, martedì 22 agosto 2006, Andreas Bregas ha scritto:
[...]
 I agree. This should be fixed for OptionCompatible(True).
 I've submitted i68855 and set you on CC. This should be
 easy to fix and can be done for 2.1.

just seen, thank you very much

Paolo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [udk-dev] StarBasic Kill statement

2006-08-21 Thread Stephan Bergmann

Paolo Mantovani wrote:

Hi all,

The kill statement in StarBasic can delete entire folders
Calling OptionCompatible(True) before does not affect the behavior.
( OOo 2.0.2 )

The documentation doesn't say explicitly that it shouldn't happen but anyway 
it speaks only of files, and never of folders.

Furthermore, there is a specific statement to delete directories ( RmDir )

In VBA if you try to kill a directory you get an error (file not found) so I 
think that this is a compatibility issue.


any comments?


Is this intended as a follow up to 
http://udk.openoffice.org/servlets/ReadMsg?list=devmsgNo=3564?


If yes, why do you start a new thread?  And why don't you instead answer 
my question where exactly in the OOo CVS the line If 
oUcb.Exists(FilePath) Then (that you claim should be changed) is 
located, so I can tell you which OOo project would be appropriate where 
to re-post your mail or file an issue?  (As udk most probably is not the 
appropriate project.)


-Stephan


thanks
Paolo M


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]