<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>oldsave</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>April 1999</DATE>
  <SHORT_DESCRIPTION name="oldsave"> saving variables in 2.4.1 and previous format</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>oldsave(filename [,x1,x2,...,xn])  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>filename</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: character string or a logical unit returned by file('open',...)</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>xi</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: arbitrary Scilab variable(s)</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P>
    The <VERB>oldsave</VERB> function is obsolete and is retained only for
    compatibility purpose.</P>
    <P>
    The <VERB>oldsave</VERB> command can be used to save Scilab current variables 
    in binary form in a file.</P>
    <P><VERB>oldsave(filename)</VERB> saves all current variables in the file
    defined by  <VERB>filename</VERB>.</P>
    <P><VERB>oldsave(file-name,x,y)</VERB> saves only named variables <VERB>x</VERB> and <VERB>y</VERB>.</P>
    <P>
    Saved  variables can be reloaded by the <VERB>load</VERB> or oldload command.</P>
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
a=eye(2,2);b=ones(a);
oldsave('TMPDIR/val.dat',a,b);
clear a
clear b
oldload('TMPDIR/val.dat','a','b');

 ]]>
  </EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>load</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>file</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
