Improve the examples in the mtlb_mode help page 75/10475/2
Sylvestre Ledru [Thu, 14 Feb 2013 12:32:01 +0000 (13:32 +0100)]
Change-Id: I12eb0ddf8526cae32dc31add6c6bd4e11b7139af

scilab/modules/compatibility_functions/help/en_US/mtlb_mode.xml
scilab/modules/compatibility_functions/help/fr_FR/mtlb_mode.xml
scilab/modules/compatibility_functions/help/ja_JP/mtlb_mode.xml
scilab/modules/compatibility_functions/help/pt_BR/mtlb_mode.xml
scilab/modules/compatibility_functions/help/ru_RU/mtlb_mode.xml

index 7f2c466..ac56288 100644 (file)
                 <listitem>
                     <para></para>
                     <programlisting role = ""><![CDATA[ 
-a+[] -->a
-a-[] -->a
-[]+a -->a
-[]-a -->-a
+a=1;
+a+[]
+// -->a
+
+
+a-[]
+// -->a
+
+
+[]+a
+// -->a
+
+
+[]-a
+// -->-a
  ]]></programlisting>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>Matlab</term>
                 <listitem>
-                    <programlisting role = ""><![CDATA[ 
+                    <programlisting role = "no-scilab-exec"><![CDATA[
 a+[] -->[]
 a-[] -->[]
 []+a -->[]
index e00c258..730009f 100644 (file)
                 <term>Scilab</term>
                 <listitem>
                     <para/>
-                    <programlisting role=""><![CDATA[ 
-a+[] -->a
-a-[] -->a
-[]+a -->a
-[]-a -->-a
+                    <programlisting role=""><![CDATA[
+a=1;
+a+[]
+// -->a
+
+a-[]
+// -->a
+
+[]+a
+// -->a
+
+[]-a
+// -->-a
  ]]></programlisting>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>Matlab</term>
                 <listitem>
-                    <programlisting role=""><![CDATA[ 
+                    <programlisting role="no-scilab-exec"><![CDATA[ 
 a+[] -->[]
 a-[] -->[]
 []+a -->[]
index 8a7bf32..f642bf8 100644 (file)
                 <listitem>
                     <para/>
                     <programlisting role=""><![CDATA[ 
-a+[] -->a
-a-[] -->a
-[]+a -->a
-[]-a -->-a
+a=1;
+a+[]
+// -->a
+
+a-[]
+// -->a
+
+[]+a
+// -->a
+
+[]-a
+// -->-a
  ]]></programlisting>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>Matlab</term>
                 <listitem>
-                    <programlisting role=""><![CDATA[ 
+                    <programlisting role="no-scilab-exec"><![CDATA[ 
 a+[] -->[]
 a-[] -->[]
 []+a -->[]
index d0eeee2..0c0ace1 100644 (file)
                 <listitem>
                     <para/>
                     <programlisting role=""><![CDATA[ 
-a+[] -->a
-a-[] -->a
-[]+a -->a
-[]-a -->-a
+a=1;
+a+[]
+// -->a
+
+a-[]
+// -->a
+
+[]+a
+// -->a
+
+[]-a
+// -->-a
  ]]></programlisting>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>Matlab</term>
                 <listitem>
-                    <programlisting role=""><![CDATA[ 
+                    <programlisting role="no-scilab-exec"><![CDATA[ 
 a+[] -->[]
 a-[] -->[]
 []+a -->[]
index de46298..e841b23 100644 (file)
                 <listitem>
                     <para/>
                     <programlisting><![CDATA[ 
-a+[] -->a
-a-[] -->a
-[]+a -->a
-[]-a -->-a
+a=1;
+a+[]
+// -->a
+
+a-[]
+// -->a
+
+[]+a
+// -->a
+
+[]-a
+// -->-a
  ]]></programlisting>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>Matlab</term>
                 <listitem>
-                    <programlisting><![CDATA[ 
+                    <programlisting role = "no-scilab-exec"><![CDATA[ 
 a+[] -->[]
 a-[] -->[]
 []+a -->[]