[Gambas-user] Strange error

Benoît Minisini gambas at ...1...
Thu Feb 24 16:42:46 CET 2011


> Hi!
> I noticed strange behaviour in one of my projects, and I managed to
> isolate cause.
> When I run this code twice;
>  "
>   If IsDir("/tmp/testingtesting/") = True Then
>   Shell "rm -r /tmp/testingtesting/" ' Wait
>   Endif
> 
>   Mkdir "/tmp/testingtesting/"
>  "
> 
> I got balloon message from IDE; "The program has returned the value: 1".
> And to console; "warning: debugger I/O error".
> 
> Problem is solved if you uncomment Wait command,
> but I think Mkdir should handle this better.
> 
> 
> Gambas 3 rev 3589 @ Ubuntu 10.10 64bit
> 
> Jussi
> 

It should be fixed in revision #3612. The debugger thought it got an I/O error 
whereas it didn't.

Regards,

-- 
Benoît Minisini




More information about the User mailing list