Rename a file: Difference between revisions

Improve Seed7 example
m (→‎{{header|Ruby}}: Remove phantom category 'fileutils.rb'. This is part of standard library.)
(Improve Seed7 example)
Line 643:
 
=={{header|Seed7}}==
The library [http://seed7.sourceforge.net/libraries/osfiles.htm osfiles.s7i]
defines the function [http://seed7.sourceforge.net/libraries/osfiles.htm#moveFile%28in_string,in_string%29 moveFile],
which renames / moves a file.
Seed7 uses a [http://seed7.sourceforge.net/manual/os.htm#Standard_path_representation standard path representation]
to make paths operating system independent. In the standard path representation
Line 650 ⟶ 653:
 
<lang seed7>$ include "seed7_05.s7i";
include "osfiles.s7i";
 
const proc: main is func