Re: deleting files and accessing directory tree

new topic     » goto parent     » topic index » view thread      » older message » newer message
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. blink

-Greg

Thanks for the remainder, I guess I got used to poke around smile

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu