sorry i've done it directly without gambas ... the correction :
private sub CreateDirTree(sDir as string)
dim s as string
if sdir begins / then sdir = right(sdir,-1)
For each s in split(sDir, /)
sDir /= s
if exist(stmpdir) then continue
mkdir stmpdir
next
catch
Print The directory
2011/7/1 nando nand...@nothingsimple.com:
In a true multi-user multi-tasking environment the following is good
except it is missing one thing:
The TRY must be added because during the IF test and the MKDIR,
it might have been created. This makes it the list error prone.
Private Sub
2011/7/1 Fabián Flores Vadell fabianfloresvad...@gmail.com:
2011/6/29 Benoît Minisini gam...@users.sourceforge.net:
Can you make a little project for me so that I can test exactly your code?
--
Benoît Minisini
Thanks Benoît, but that's unnecesary. I quickly found the error in my
code. By
Am Freitag, den 01.07.2011, 23:28 +0200 schrieb Benoît Minisini:
Salut,
found today a very important command (for me) : xdg-open
use : xdg-open path/to/file/file
I'v tested on Ubuntu and Mandriva (gnom and kde).
That saves a lot of coding and entries in config-files
This is
Benoit,
Done! Here you go!
gwalborn
OK, the problem is worse than I thought. It is a deep design error in Gambas,
that prevent _unknown from dealing with properties in all possible cases.
I will search again for a solution, but I am not optimistic! :-/
Regards,
--
Benoît Minisini
Benoit,
Done! Here you go!
gwalborn
OK, the problem is worse than I thought. It is a deep design error in
Gambas, that prevent _unknown from dealing with properties in all possible
cases.
I will search again for a solution, but I am not optimistic! :-/
Regards,
Here is