Improve the display of the example 29/10229/2
Sylvestre Ledru [Wed, 16 Jan 2013 13:45:59 +0000 (14:45 +0100)]
Change-Id: I506bd84eeba6bc6c769177deac8356ab1296b4bd

scilab/modules/string/help/fr_FR/eval.xml
scilab/modules/string/help/fr_FR/evstr.xml
scilab/modules/string/help/fr_FR/string.xml

index bafd85e..8a19e99 100644 (file)
     <refsection>
         <title>Exemples</title>
         <programlisting role="example"><![CDATA[ 
-a=1; b=2; Z=['a','sin(b)'] ; eval(Z)  // renvoie la matrice [1,0.909];
+a=1;
+b=2;
+Z=['a','sin(b)'];
+eval(Z)  // renvoie la matrice [1,0.909];
  ]]></programlisting>
     </refsection>
     <refsection role="see also">
index 40b8c69..9c1a5bf 100644 (file)
     </refsection>
     <refsection>
         <title>Exemples</title>
-        <programlisting role="example">a = 1; b = 2; Z = ['a','b'];
-            evstr(Z) 
-            a = 1; b = 2; Z = list(['%(1)','%(1)-%(2)'],['a+1','b+1']);
-            evstr(Z)
-            
-            evstr('NaN'), evstr('Inf') 
-        </programlisting>
+        <programlisting role="example"><![CDATA[ 
+a = 1;
+b = 2;
+Z = ['a','b'];
+evstr(Z)
+a = 1;
+b = 2;
+Z = list(['%(1)','%(1)-%(2)'],['a+1','b+1']);
+evstr(Z)
+evstr('NaN'), evstr('Inf') 
+        ]]></programlisting>
     </refsection>
     <refsection role="see also">
         <title>Voir aussi</title>
index f29920b..b60ed6d 100644 (file)
     </refsection>
     <refsection>
         <title>Exemples</title>
-        <programlisting role="example">string(rand(2, 2))
+        <programlisting role="example"><![CDATA[ 
+string(rand(2, 2))
             
-            deff("y = mymacro(x)", "y = x + 1")
-            [out, in, text] = string(mymacro)
-            x = 123.356; 
-            disp("Result is " + string(x));
-            
-            disp("/" + string(~%t) + "/");
-            disp("/" + string(%i+1) + "/");
-            disp("/" + string(int16(-123)) + "/");
-            disp("/" + string(1 + %s + %s^3) + "/");
-            
-            string(corelib)
-            
-            v = format();
-            disp(string(%pi))
-            format(24);
-            disp(string(%pi))
-            format(v(2)) 
-        </programlisting>
+deff("y = mymacro(x)", "y = x + 1")
+[out, in, text] = string(mymacro)
+x = 123.356; 
+disp("Result is " + string(x));
+
+disp("/" + string(~%t) + "/");
+disp("/" + string(%i+1) + "/");
+disp("/" + string(int16(-123)) + "/");
+disp("/" + string(1 + %s + %s^3) + "/");
+
+string(corelib)
+
+v = format();
+disp(string(%pi))
+format(24);
+disp(string(%pi))
+format(v(2))
+ ]]></programlisting>
     </refsection>
     <refsection role="see also">
         <title>Voir aussi</title>