summaryrefslogtreecommitdiffstats
path: root/scilab/modules/io
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-02-17 10:41:28 +0100
committerAllan CORNET <allan.cornet@scilab.org>2010-02-17 10:41:28 +0100
commitf86945dd4c98a0f4592fd19e61cf453f3fc4ca4c (patch)
treec51228def7bcfb2b1cb1e240a55ffeba7c13775d /scilab/modules/io
parent6859354b5b956072b389f34e9ddbbe68c78adbca (diff)
downloadscilab-f86945dd4c98a0f4592fd19e61cf453f3fc4ca4c.zip
scilab-f86945dd4c98a0f4592fd19e61cf453f3fc4ca4c.tar.gz
add example
Diffstat (limited to 'scilab/modules/io')
-rw-r--r--scilab/modules/io/help/en_US/getscilabkeywords.xml16
-rw-r--r--scilab/modules/io/help/pt_BR/getscilabkeywords.xml16
2 files changed, 30 insertions, 2 deletions
diff --git a/scilab/modules/io/help/en_US/getscilabkeywords.xml b/scilab/modules/io/help/en_US/getscilabkeywords.xml
index af2977c..9fd6e00 100644
--- a/scilab/modules/io/help/en_US/getscilabkeywords.xml
+++ b/scilab/modules/io/help/en_US/getscilabkeywords.xml
@@ -40,8 +40,22 @@
40 <para>list_keywords(2) : commands</para> 40 <para>list_keywords(2) : commands</para>
41 <para>list_keywords(3) : predef variables</para> 41 <para>list_keywords(3) : predef variables</para>
42 <para>list_keywords(4) :scilab functions</para> 42 <para>list_keywords(4) :scilab functions</para>
43 <para>list_keywords(5) :scicos functions</para> 43 <para>list_keywords(5) :xcos functions</para>
44 </refsection> 44 </refsection>
45
46 <refsection>
47 <title>Examples</title>
48
49 <programlisting role="example"><![CDATA[
50list_keywords = getscilabkeywords();
51primitives = list_keywords(1)
52commands = list_keywords(2)
53predef_var = list_keywords(3)
54scilab_functions = list_keywords(4)
55xcos_functions = list_keywords(5)
56 ]]></programlisting>
57 </refsection>
58
45 <refsection> 59 <refsection>
46 <title>Authors</title> 60 <title>Authors</title>
47 <para>A.C, adapted from Enrico Segre's code in Scipad</para> 61 <para>A.C, adapted from Enrico Segre's code in Scipad</para>
diff --git a/scilab/modules/io/help/pt_BR/getscilabkeywords.xml b/scilab/modules/io/help/pt_BR/getscilabkeywords.xml
index e3aa0dd..200a875 100644
--- a/scilab/modules/io/help/pt_BR/getscilabkeywords.xml
+++ b/scilab/modules/io/help/pt_BR/getscilabkeywords.xml
@@ -48,6 +48,7 @@
48 </variablelist> 48 </variablelist>
49 </refsection> 49 </refsection>
50 50
51
51 <refsection> 52 <refsection>
52 <title>Descrição</title> 53 <title>Descrição</title>
53 54
@@ -59,7 +60,20 @@
59 60
60 <para>list_keywords(4) : funções Scilab</para> 61 <para>list_keywords(4) : funções Scilab</para>
61 62
62 <para>list_keywords(5) : funções Scicos</para> 63 <para>list_keywords(5) : funções xcos</para>
64 </refsection>
65
66<refsection>
67 <title>Examples</title>
68
69 <programlisting role="example"><![CDATA[
70list_keywords = getscilabkeywords();
71primitives = list_keywords(1)
72commands = list_keywords(2)
73predef_var = list_keywords(3)
74scilab_functions = list_keywords(4)
75xcos_functions = list_keywords(5)
76 ]]></programlisting>
63 </refsection> 77 </refsection>
64 78
65 <refsection> 79 <refsection>