Salome HOME
bos #26594 Failed KERNEL test: fix typemap for swig 4x
[modules/yacs.git] / src / yacsloader / samples / file1.xml
index 842262b1116b8b18d75eae0623cdf6908e076300..5778b689d50fdb1321dfc38d6ac964695ccd1a9b 100644 (file)
@@ -1,3 +1,23 @@
+<!--
+  Copyright (C) 2006-2019  CEA/DEN, EDF R&D
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+
+  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+
+-->
 <proc>
     <!--types -->
 
@@ -11,7 +31,7 @@
     <inline name="node0" >
       <script>
         <code>p1="toto"</code>
-        <code>print p1</code>
+        <code>print(p1)</code>
       </script>
       <outport name="p1" type="string"/>
     </inline>
@@ -36,7 +56,7 @@
 
     <inline name="node3" >
       <script>
-        <code>print "node3:",p1</code>
+        <code>print("node3:",p1)</code>
       </script>
       <inport name="p1" type="file"/>
     </inline>