<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>abs</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>April 1993</DATE>
  <SHORT_DESCRIPTION name="edit">  function editing</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>newname=edit(functionname [, editor])  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>functionname</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: character string</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>editor</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: character string</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P>
    If functionname is the name of a defined scilab function 
    <VERB>edit(functionname ,[editor])</VERB> try to open the associated file
     <VERB>functionname.sci</VERB>. If this file can't be modified <VERB>edit</VERB>
    first create a copy of this file in the TMPDIR directory.</P>
    <P>
    If functionname is the name of a undefined scilab function <VERB>edit</VERB>
    create a functionname.sci file in the TMPDIR directory.</P>
    <P>
    When leaving the editor the modified or defined function is loaded
    into Scilab under the name <VERB>newname</VERB>.</P>
    <P>
    The editor character string can be used to specify your favourite text
    editor. It is generally a system command, or the string "scipad", in 
    which case the internal editor is used.</P>
    <P>
    Default editor is Emacs. This function should be customized according
    to your needs.</P>
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
//newedit=edit('edit')  //opens editor with text of this function
//myfunction=edit('myfunction')  //opens editor for a new function
 ]]>
  </EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>manedit</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>scipad</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
