~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/eng/fileio/newest.xml

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
 
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
 
3
<MAN>
 
4
  <LANGUAGE>eng</LANGUAGE>
 
5
  <TITLE>newest</TITLE>
 
6
  <TYPE>Scilab Function</TYPE>
 
7
  <DATE>July 2000</DATE>
 
8
  <SHORT_DESCRIPTION name="newest"> returns newest file of a set of files</SHORT_DESCRIPTION>
 
9
  <CALLING_SEQUENCE>
 
10
    <CALLING_SEQUENCE_ITEM>k=newest(paths)  </CALLING_SEQUENCE_ITEM>
 
11
    <CALLING_SEQUENCE_ITEM>k=newest(path1,path2,...,pathn)  </CALLING_SEQUENCE_ITEM>
 
12
  </CALLING_SEQUENCE>
 
13
  <PARAM>
 
14
    <PARAM_INDENT>
 
15
      <PARAM_ITEM>
 
16
        <PARAM_NAME>k</PARAM_NAME>
 
17
        <PARAM_DESCRIPTION>
 
18
          <SP>: the index of the newest file</SP>
 
19
        </PARAM_DESCRIPTION>
 
20
      </PARAM_ITEM>
 
21
      <PARAM_ITEM>
 
22
        <PARAM_NAME>paths</PARAM_NAME>
 
23
        <PARAM_DESCRIPTION>
 
24
          <SP>: a character string vector (or list), paths(i) is the pathname of ith file</SP>
 
25
        </PARAM_DESCRIPTION>
 
26
      </PARAM_ITEM>
 
27
      <PARAM_ITEM>
 
28
        <PARAM_NAME>pathi</PARAM_NAME>
 
29
        <PARAM_DESCRIPTION>
 
30
          <SP>: a character string, the pathname of ith file</SP>
 
31
        </PARAM_DESCRIPTION>
 
32
      </PARAM_ITEM>
 
33
    </PARAM_INDENT>
 
34
  </PARAM>
 
35
  <DESCRIPTION>
 
36
    <P>
 
37
    Given a set of pathnames newest returns the index of the newest
 
38
    one. Non existant files are supposed to be the oldest.</P>
 
39
  </DESCRIPTION>
 
40
  <EXAMPLE>
 
41
<![CDATA[
 
42
newest('SCI/macros/xdess/bode.sci','SCI/macros/xdess/bode.bin')
 
43
newest('SCI/macros/xdess/bode.'+['sci','bin'])
 
44
 ]]>
 
45
  </EXAMPLE>
 
46
  <SEE_ALSO>
 
47
    <SEE_ALSO_ITEM>
 
48
      <LINK>fileinfo</LINK>
 
49
    </SEE_ALSO_ITEM>
 
50
  </SEE_ALSO>
 
51
</MAN>