Re: deleting files and accessing directory tree
- Posted by gbonvehi Oct 24, 2008
- 1025 views
ghaberek said...
You could just make that...
function deleteFile( sequence name ) atom pname, retval pname = allocate_string( name ) retval = c_func( wDeleteFile, {pname} ) free( pname ) return retval end function
Which would work equally as well, with a few less lines of code. We have allocate_string for a reason.
-Greg
Thanks for the remainder, I guess I got used to poke around