<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Scilab ( https://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 2008 - INRIA - Allan CORNET
 * ...
 *
 * Copyright (C) 2012 - 2016 - Scilab Enterprises
 *
 * This file is hereby licensed under the terms of the GNU GPL v2.0,
 * pursuant to article 5.3.4 of the CeCILL v.2.1.
 * This file was originally licensed under the terms of the CeCILL v2.1,
 * and continues to be available under such terms.
 * For more information, see the COPYING file which you should have received
 * along with this program.
 *
 -->
<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">
    <refnamediv>
        <refname>fullpath</refname>
        <refpurpose>
            指定した相対パス名に関する完全なパス名を作成する.
        </refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>呼び出し手順</title>
        <synopsis>res = fullpath(relative_path)</synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>引数</title>
        <variablelist>
            <varlistentry>
                <term>res</term>
                <listitem>
                    <para>文字列または文字列の行列</para>
                </listitem>
            </varlistentry>
        </variablelist>
        <variablelist>
            <varlistentry>
                <term>relative_path</term>
                <listitem>
                    <para>文字列または文字列の行列</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>説明</title>
        <para>
            <code>fullpath(relative_path)</code>は,
            指定した相対パス名に関する完全なパス名を作成します.
        </para>
    </refsection>
    <refsection>
        <title>例</title>
        <programlisting role="example"><![CDATA[
cd(TMPDIR);
mkdir(TMPDIR + "/niv1");
mkdir(TMPDIR + "/niv1/niv2");
mkdir(TMPDIR + "/niv1/niv2/niv3");
mputl(' ', TMPDIR + "/niv1/test1.txt");
mputl(' ' , TMPDIR + "/niv1/niv2/test2.txt");
cd(TMPDIR + "/niv1/niv2/niv3");
r1 = fullpath("../../test1.txt")
r2 = fullpath("../test2.txt")
M = ["../../test1.txt", "../test2.txt"];
R = fullpath(M)
 ]]></programlisting>
    </refsection>
    <refsection>
        <title>履歴</title>
        <revhistory>
            <revision>
                <revnumber>5.4.0</revnumber>
                <revremark>管理された文字列の行列 (SEP 72)</revremark>
            </revision>
        </revhistory>
    </refsection>
</refentry>
