Bug 3342 fixed
Vincent Couvert [Tue, 19 Aug 2008 20:21:35 +0000 (20:21 +0000)]
scilab/modules/data_structures/help/en_US/iscell.xml [new file with mode: 0644]
scilab/modules/data_structures/help/fr_FR/iscell.xml [new file with mode: 0644]

diff --git a/scilab/modules/data_structures/help/en_US/iscell.xml b/scilab/modules/data_structures/help/en_US/iscell.xml
new file mode 100644 (file)
index 0000000..57f3696
--- /dev/null
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Vincent COUVERT
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ -->
+<refentry version="5.0-subset Scilab" xml:id="iscell" xml:lang="en"
+          xmlns="http://docbook.org/ns/docbook"
+          xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:svg="http://www.w3.org/2000/svg"
+          xmlns:ns5="http://www.w3.org/1999/xhtml"
+          xmlns:mml="http://www.w3.org/1998/Math/MathML"
+          xmlns:db="http://docbook.org/ns/docbook">
+  <info>
+    <pubdate>$LastChangedDate: 2008-03-26 09:50:39 +0100 (mer, 26 mar 2008)
+    $</pubdate>
+  </info>
+
+  <refnamediv>
+    <refname>iscell</refname>
+
+    <refpurpose>Check if a variable is a cell array</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <title>Calling Sequence</title>
+
+    <synopsis>bool = iscell(x)</synopsis>
+  </refsynopsisdiv>
+
+  <refsection>
+    <title>Parameters</title>
+
+    <variablelist>
+      <varlistentry>
+        <term>x</term>
+
+        <listitem>
+          <para>Scilab variable</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>bool</term>
+
+        <listitem>
+          <para>A boolean</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsection>
+
+  <refsection>
+    <title>Description</title>
+
+    <para><literal>iscell(x)</literal> returns true if x is a cell array
+    and false otherwise.</para>
+  </refsection>
+
+  <refsection>
+    <title>Examples</title>
+
+    <programlisting role="example">
+
+iscell(1)
+
+iscell(cell())
+
+c = cell(1,2);
+c(1).entries="Scilab";
+c(2).entries=datenum();
+iscell(c)
+
+  </programlisting>
+  </refsection>
+
+  <refsection>
+    <title>See Also</title>
+
+    <simplelist type="inline">
+      <member><link linkend="cell">cell</link></member>
+
+      <member><link linkend="isstruct">isstruct</link></member>
+    </simplelist>
+  </refsection>
+
+  <refsection>
+    <title>Author</title>
+
+    <simplelist type="vert">
+      <member>V.C.</member>
+    </simplelist>
+  </refsection>
+</refentry>
\ No newline at end of file
diff --git a/scilab/modules/data_structures/help/fr_FR/iscell.xml b/scilab/modules/data_structures/help/fr_FR/iscell.xml
new file mode 100644 (file)
index 0000000..2c6537b
--- /dev/null
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Vincent COUVERT
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ -->
+<refentry version="5.0-subset Scilab" xml:id="iscell" xml:lang="fr"
+          xmlns="http://docbook.org/ns/docbook"
+          xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:svg="http://www.w3.org/2000/svg"
+          xmlns:ns5="http://www.w3.org/1999/xhtml"
+          xmlns:mml="http://www.w3.org/1998/Math/MathML"
+          xmlns:db="http://docbook.org/ns/docbook">
+  <info>
+    <pubdate>$LastChangedDate: 2008-03-26 09:50:39 +0100 (mer, 26 mar 2008)
+    $</pubdate>
+  </info>
+
+  <refnamediv>
+    <refname>iscell</refname>
+
+    <refpurpose>Vérifie si une variable est une cell.</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <title>Séquence d'appel</title>
+
+    <synopsis>bool = iscell(x)</synopsis>
+  </refsynopsisdiv>
+
+  <refsection>
+    <title>Paramètres</title>
+
+    <variablelist>
+      <varlistentry>
+        <term>x</term>
+
+        <listitem>
+          <para>Variable Scilab</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>bool</term>
+
+        <listitem>
+          <para>Un booléen</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsection>
+
+  <refsection>
+    <title>Description</title>
+
+    <para><literal>iscell(x)</literal> retourne vrai si x est une cell
+    et faux sinon.</para>
+  </refsection>
+
+  <refsection>
+    <title>Exemples</title>
+
+    <programlisting role="example">
+
+iscell(1)
+
+iscell(cell())
+
+c = cell(1,2);
+c(1).entries="Scilab";
+c(2).entries=datenum();
+iscell(c)
+
+  </programlisting>
+  </refsection>
+
+  <refsection>
+    <title>Voir aussi</title>
+
+    <simplelist type="inline">
+      <member><link linkend="cell">cell</link></member>
+
+      <member><link linkend="isstruct">isstruct</link></member>
+    </simplelist>
+  </refsection>
+
+  <refsection>
+    <title>Auteur</title>
+
+    <simplelist type="vert">
+      <member>V.C.</member>
+    </simplelist>
+  </refsection>
+</refentry>
\ No newline at end of file