Salome HOME
Merge V9_dev branch into master
[modules/yacs.git] / src / yacsloader / samples / triangle5error.xml
index 3ed223fc0233f0156c233176b238cd4af3573f25..8d1658b5f469a26bf135ac438c288d2e37f8a856 100644 (file)
@@ -1,3 +1,23 @@
+<!--
+  Copyright (C) 2006-2016  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 -->
@@ -6,7 +26,7 @@
 <inline name="node_0_0" >
 <script><code>
 c=a+b
-print c
+print(c)
 </code></script>
 <inport name="a" type="int"/>
 <inport name="b" type="int"/>
@@ -23,7 +43,7 @@ print c
 <inline name="node_3_0" >
 <script><code>
 c=a+b/0
-print c
+print(c)
 </code></script>
 <inport name="a" type="int"/>
 <inport name="b" type="int"/>