2 Copyright (C) 2006-2014 CEA/DEN, EDF R&D
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
27 <inline name="node1" >
30 <code> return "coucou node1" </code>
32 <outport name="p1" type="string"/>
34 <inline name="node2" >
37 <code> return "coucou node2" </code>
39 <outport name="p1" type="string"/>
42 <inline name="node1" >
45 <code> return "coucou b1.node1" </code>
47 <outport name="p1" type="string"/>
49 <inline name="node2" >
52 <code> return "coucou b1.node2" </code>
54 <outport name="p1" type="string"/>
57 <inline name="node1" >
59 <code>def f(p1):</code>
60 <code> print p1;p1=2*p1 </code>
61 <code> print "coucou b1.b2.node1" </code>
62 <code> return p1 </code>
64 <inport name="p1" type="string"/>
65 <outport name="p1" type="string"/>
67 <inline name="node2" >
70 <code> return "coucou b1.b2.node2" </code>
72 <outport name="p1" type="string"/>
74 <forloop name="loop1" nsteps="3">
75 <inline name="node1" >
78 <code> return "coucou b1.b2.loop1.node1" </code>
80 <outport name="p1" type="string"/>
83 <control> <fromnode>loop1</fromnode> <tonode>node2</tonode> </control>
85 <control> <fromnode>node1</fromnode> <tonode>b2</tonode> </control>
86 <control> <fromnode>b2</fromnode> <tonode>node2</tonode> </control>
90 <control> <fromnode>b1</fromnode> <tonode>node2</tonode> </control>
96 <tonode>b1.b2.node1</tonode> <toport>p1</toport>
97 <value><string>coucou</string></value>