xcosUpdateBlock.xml updated. 69/19069/2
Adeline CARNIS [Thu, 9 Feb 2017 13:27:45 +0000 (14:27 +0100)]
Change-Id: I9177474236dcd336c1f66baa90a090949a46dc67

scilab/modules/xcos/help/en_US/scilab_utilities_functions/xcosUpdateBlock.xml
scilab/modules/xcos/help/fr_FR/scilab_utilities_functions/xcosUpdateBlock.xml

index 5633daf..26ed108 100644 (file)
@@ -46,8 +46,8 @@
         <para>
             <programlisting role="example"><![CDATA[
 function myExternalFunction(blk, scs_m)
-    execstr(''[ok, blk] = '' + blk.gui + ''(''''set'''', blk)'') ;
-    xcosUpdateBlock(blk) ;
+    execstr('[ok, blk] = ' + blk.gui + '(''set'', blk)');
+    xcosUpdateBlock(blk);
 endfunction
 xcosAddToolsMenu("update block", "myExternalFunction(blk, scs_m)");
 ]]></programlisting>
index e6369a4..5a1ae70 100644 (file)
@@ -46,8 +46,8 @@
         <para>
             <programlisting role="example"><![CDATA[
 function myExternalFunction(blk, scs_m)
-    execstr(''[ok, blk] = '' + blk.gui + ''(''''set'''', blk)'') ;
-    xcosUpdateBlock(blk) ;
+    execstr('[ok, blk] = ' + blk.gui + '(''set'', blk)');
+    xcosUpdateBlock(blk);
 endfunction
 xcosAddToolsMenu("update block", "myExternalFunction(blk, scs_m)");
 ]]></programlisting>