File: edit.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (36 lines) | stat: -rw-r--r-- 1,127 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
abs              Scilab Group              Scilab Function              abs
NAME
   edit -  function editing
  
CALLING SEQUENCE
 newname=edit(functionname [, editor])
PARAMETERS
 functionname
             : character string
            
 editor     : character string
            
DESCRIPTION
   If functionname is the name of a defined scilab function 
  edit(functionname ,[editor]) try to open the associated file 
  functionname.sci. If this file can't be modified edit first create a copy
  of this file in the TMPDIR directory.
  
    If functionname is the name of a undefined scilab function edit create a
  functionname.sci file in the TMPDIR directory.
  
    When leaving the editor the modified or defined function is loaded into
  Scilab under the name newname.
  
    The editor character string can be used to specify your favourite text
  editor.
  
    Default editor is Emacs. This function should be customized according to
  your needs.
  
EXAMPLE
 //newedit=edit('edit')  //opens editor with text of this function
 //myfunction=edit('myfunction')  //opens editor for a new function
SEE ALSO
   manedit