Make a backup file: Difference between revisions

Content added Content deleted
(→‎{{header|Python}}: greetings from pycon china 2011)
Line 75: Line 75:
}
}
}</lang>
}</lang>

=={{header|Locomotive Basic}}==

AMSDOS has automatic one-level backups which also work from Locomotive BASIC: If e.g. the file <tt>test.bas</tt> is saved, the data gets written to <tt>test.$$$</tt>. When the file is closed a preexisting <tt>test.bas</tt> gets renamed to <tt>test.bak</tt> and finally <tt>test.$$$</tt> is renamed to <tt>test.bas</tt>. (These backups affect all file types, not just BASIC source code.)


=={{header|Pike}}==
=={{header|Pike}}==