Re: File handling
- Posted by Daniel Berstein <daber at PAIR.COM> Jun 07, 1998
- 494 views
-----Original Message----- De: Hawke <mdeland at NWINFO.NET> Para: EUPHORIA at cwisserver1.mcs.muohio.edu <EUPHORIA at cwisserver1.mcs.muohio.edu> Fecha: sábado 6 de junio de 1998 23:23 Asunto: Re: File handling >Daniel Berstein wrote: >> >> Has anyone done routines for deleting, renaming, copying, moving, and >> creating temporary files? >> >> I'd never realized Euphoria didn't bring this ?! >> >> Rob, why don't you include these standard C functions on next release >> (there're at io.h, stdio.h, dir.h): >> >> access chmod chsize lock >> unlock mktemp remove rename >> mkdir rmdir > > > >did you take a look at the system command? you get access to all of >DOS's >functions that way...also, unless i miss my guess, those commands above >are a variant of some sort of UNIX...no? if so, then (to my knowledge) >Euphoria doesn't support UNIX variants yet... > >hope this helps (HTH-- my contribution to the initial clutter for this >week :) ) >--mike I know we can use system(), but that's a shell call... not a native code. The point is that it's really easy for Rob to include them in Euphoria. Besides, if you're using a GUI a system() call will flicker the screen. Regards, Daniel Berstein daber at pair.com