Re: [Gambas-user] Add new command to: Copy directories recursively

2014-08-26 Thread Fabien Bodard
But gambas can't copy from a device to a different one Le 26 août 2014 09:11, "Julio Sanchez" a écrit : > Caveat: > > Yes, that's the idea > > > Regards > > > > 2014-08-26 8:21 GMT+02:00 Caveat : > > > Hello List > > > > Although there is always "cp -r", it makes for a very unportable program > >

Re: [Gambas-user] Add new command to: Copy directories recursively

2014-08-26 Thread Benoît Minisini
Le 26/08/2014 08:21, Caveat a écrit : > Hello List > > Although there is always "cp -r", it makes for a very unportable program > if you depend on calling external programs. Better to build it in to > the language if it's generally and genuinely useful, or to make a > callable function in some pub

Re: [Gambas-user] Add new command to: Copy directories recursively

2014-08-26 Thread Julio Sanchez
Caveat: Yes, that's the idea Regards 2014-08-26 8:21 GMT+02:00 Caveat : > Hello List > > Although there is always "cp -r", it makes for a very unportable program > if you depend on calling external programs. Better to build it in to > the language if it's generally and genuinely useful, or

Re: [Gambas-user] Add new command to: Copy directories recursively

2014-08-25 Thread Caveat
Hello List Although there is always "cp -r", it makes for a very unportable program if you depend on calling external programs. Better to build it in to the language if it's generally and genuinely useful, or to make a callable function in some public repository of Gambas code, so people don'

Re: [Gambas-user] Add new command to: Copy directories recursively

2014-08-25 Thread B Bruen
On Mon, 25 Aug 2014 22:28:29 +0200 Julio Sanchez wrote: > Hi, could you add a new order within gambas3 to copy directories > recursively. > (snippped) Here's my version, slightly different to Tobi's. I find that it is better to provide an array of all the paths in the source tree and then ite

Re: [Gambas-user] Add new command to: Copy directories recursively

2014-08-25 Thread Tobias Boege
On Mon, 25 Aug 2014, Julio Sanchez wrote: > Hi, could you add a new order within gambas3 to copy directories > recursively. > > Something like this: > > PUBLIC SUB > copia_dir(path_origen AS >

Re: [Gambas-user] Add new command to: Copy directories recursively

2014-08-25 Thread Benoît Minisini
Le 25/08/2014 22:28, Julio Sanchez a écrit : > Hi, could you add a new order within gambas3 to copy directories > recursively. > > Something like this: > > PUBLIC SUB > copia_dir(path_origen AS >

[Gambas-user] Add new command to: Copy directories recursively

2014-08-25 Thread Julio Sanchez
Hi, could you add a new order within gambas3 to copy directories recursively. Something like this: PUBLIC SUB copia_dir(path_origen AS String