view docs/nitros9guide/save.refentry @ 2909:b71f67993fe0

level2/coco3/makefile: Use OS9FORMAT macro
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 11 Jan 2014 20:56:53 +0100
parents 4dae346c4969
children
line wrap: on
line source

<refentry id="save">
<refnamediv>
<refname>SAVE</refname>
<refpurpose>Save memory module(s) on a file</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>save</command>
<arg choice="plain">
  <replaceable>path</replaceable>
</arg>
<arg choice="plain">
  <replaceable>modname</replaceable>
</arg>
<arg choice="plain">
  &repeatst;<replaceable>modname</replaceable>&repeaten;
</arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
Creates a new file and writes a copy of the memory module(s)
specified on to the file. The module name(s) must exist in the
module directory when saved. The new file is given access
permissions for all modes except public write.
</para>
<para>
Note: <command>save</command>'s default directory is the current data directory.
Executable modules should generally be saved in the default
execution directory.
</para>
</refsect1>
<refsect1><title>Examples</title>
<literallayout>
save wordcount wcount

save /d1/mathpack add sub mul div
</literallayout>
</refsect1>
</refentry>