[Coco] quick basic09 copy program

Willard Goosey goosey at virgo.sdc.org
Thu Jan 31 05:47:47 EST 2008


On Wed, Jan 30, 2008 at 09:05:58AM -0600, L. Curtis Boyle wrote:
> I would definitely recommend in the startup file pre-loading the copy  
> command if you are going to do it this way...

Yes, well, when I say "quick and dirty" I mean it.  What can one do?
I'm not, by any means, a BASIC-09 expert.  Even this little program
was a learning experience for me.  ("Oh yeah, huh, GET returns as much
as will fit in the var passed to it!" :)
 
The guy seemed to have some weird aversion to using dsave or
wildcards, and I mostly wrote it based off of some of my other
BASIC-09 code.  Which I found errors in by adapting to this. ;-)

> How big are the files you are copying? You may be able to do OPEN/CREATE's  
> with the GetStat/SetStat calls for I$Read/I$Write to do it a lot faster  
> than forking a shell which then forks copy for every file...

Now, that would be a useful subroutine module to have around.  Good
idea!

Willard
-- 
Willard Goosey  goosey at sdc.org
Socorro, New Mexico, USA
"I've never been to Contempt!  Isn't that somewhere in New Mexico?"
   --- Yacko



More information about the Coco mailing list