~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/fileio/help/en_US/fileext.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<!--
3
 
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4
 
 * Copyright (C) 2008 - INRIA - Allan CORNET
5
 
 * ...
6
 
 * 
7
 
 * This file must be used under the terms of the CeCILL.
8
 
 * This source file is licensed as described in the file COPYING, which
9
 
 * you should have received as part of this distribution.  The terms
10
 
 * are also available at    
11
 
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
12
 
 *
13
 
 -->
14
 
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="fileext">
15
 
  <refnamediv>
16
 
    <refname>fileext</refname>
17
 
    <refpurpose>returns extension for a file path</refpurpose>
18
 
  </refnamediv>
19
 
  <refsynopsisdiv>
20
 
    <title>Calling Sequence</title>
21
 
    <synopsis>extension = fileext(fullpath)</synopsis>
22
 
  </refsynopsisdiv>
23
 
  <refsection>
24
 
    <title>Arguments</title>
25
 
    <variablelist>
26
 
      <varlistentry>
27
 
        <term>fullpath</term>
28
 
        <listitem>
29
 
          <para>a string matrix, the given file path</para>
30
 
        </listitem>
31
 
      </varlistentry>
32
 
      <varlistentry>
33
 
        <term>extension</term>
34
 
        <listitem>
35
 
          <para>a string matrix, the extension part is any or ''</para>
36
 
        </listitem>
37
 
      </varlistentry>
38
 
    </variablelist>
39
 
  </refsection>
40
 
  <refsection>
41
 
    <title>Description</title>
42
 
    <para>
43
 
      <code>extension=fileext(fullpath)</code> splits the fullpath character string in the extension part including the dot.
44
 
    </para>
45
 
  </refsection>
46
 
  <refsection>
47
 
    <title>Examples</title>
48
 
    <programlisting role="example"><![CDATA[ 
49
 
extension = fileext('SCI/etc/scilab.start')
50
 
extension = fileext(['SCI/etc/scilab.start';'SCI/etc/scilab.quit'])
51
 
 ]]></programlisting>
52
 
  </refsection>
53
 
  <refsection role="see also">
54
 
    <title>See Also</title>
55
 
    <simplelist type="inline">
56
 
      <member>
57
 
        <link linkend="fileparts">fileparts</link>
58
 
      </member>
59
 
    </simplelist>
60
 
  </refsection>
61
 
</refentry>