Jump to content

Truncate a file: Difference between revisions

m
imported>Arakov
Line 578:
 
=={{header|Elena}}==
ELENA 46.x:
<syntaxhighlight lang="elena">import system'io;
import extensions;
Line 597:
{
if (program_arguments.Length != 3)
{ console.printLine:("Please provide the path to the file and a new length"); AbortException.raise() };
auto file := File.assign(program_arguments[1]);
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.