Truncate files
- Posted by Frank Dowling <frank at frankied.com> May 30, 2007
- 569 views
Hiya, This may sound like an obvious question: how do you truncate a file to a specified size? I haven't been able to do it using purely Euphoria code with no platform dependencies; Google throws up a few results from Windows/*nix, so I'm presuming it's OS specific thing? or am I missing something.. if anyone could shed some light on any way to do it using only the Euphoria core functions I'll buy you a beer