6beb6e89845dcf0dd58bcda0b48fd616f99b7d51
[scilab.git] / scilab / modules / fileio / help / ja_JP / path_filename / fullpath.xml
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.1-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" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="fullpath">
15     <refnamediv>
16         <refname>fullpath</refname>
17         <refpurpose>
18             指定した相対パス名に関する完全なパス名を作成する.
19         </refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>呼び出し手順</title>
23         <synopsis>res = fullpath(relative_path)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>パラメータ</title>
27         <variablelist>
28             <varlistentry>
29                 <term>res</term>
30                 <listitem>
31                     <para>文字列</para>
32                 </listitem>
33             </varlistentry>
34         </variablelist>
35         <variablelist>
36             <varlistentry>
37                 <term>relative_path</term>
38                 <listitem>
39                     <para>文字列</para>
40                 </listitem>
41             </varlistentry>
42         </variablelist>
43     </refsection>
44     <refsection>
45         <title>説明</title>
46         <para>
47             指定した相対パス名に関する完全なパス名を作成します.
48         </para>
49         <para>linuxでは, 'relative_path' が存在する必要があります.</para>
50     </refsection>
51     <refsection>
52         <title>例</title>
53         <programlisting role="example"><![CDATA[ 
54 mkdir(TMPDIR+'/niv1');
55 mkdir(TMPDIR+'/niv1/niv2');
56 mputl(' ',TMPDIR+'/niv1/test.txt');
57 cd(TMPDIR+'/niv1/niv2');
58 fullpath('../test.txt')
59  ]]></programlisting>
60     </refsection>
61 </refentry>