2 Copyright (C) 2006-2019 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
22 <!--Python ref count (14) must not depend on iteration number (2 or 3 or more) -->
23 <forloop name="b1" nsteps="2">
25 <inline name="node1" >
28 <code>def f(p1):</code>
29 <code> global a</code>
31 <code> print(a)</code>
32 <code> return p1</code>
34 <inport name="p1" type="int"/>
35 <outport name="p1" type="int"/>
37 <inline name="node2" >
39 <code>def f(p1):</code>
40 <code> return p1</code>
42 <inport name="p1" type="int"/>
43 <outport name="p1" type="int"/>
45 <inline name="node3" >
47 <code>def f(p1):</code>
48 <code> return p1</code>
50 <inport name="p1" type="int"/>
51 <outport name="p1" type="int"/>
53 <inline name="node4" >
55 <code>def f(p1):</code>
56 <code> return p1</code>
58 <inport name="p1" type="int"/>
59 <outport name="p1" type="int"/>
61 <inline name="node5" >
63 <code>def f(p1):</code>
64 <code> return p1</code>
66 <inport name="p1" type="int"/>
67 <outport name="p1" type="int"/>
70 <inline name="node1" >
72 <code>def f(p1):</code>
73 <code> return p1</code>
75 <inport name="p1" type="int"/>
76 <outport name="p1" type="int"/>
81 <control> <fromnode>node1</fromnode> <tonode>node2</tonode> </control>
82 <control> <fromnode>node1</fromnode> <tonode>node3</tonode> </control>
83 <control> <fromnode>node2</fromnode> <tonode>node4</tonode> </control>
84 <control> <fromnode>node3</fromnode> <tonode>node5</tonode> </control>
85 <control> <fromnode>node1</fromnode> <tonode>c</tonode> </control>
87 <datalink> <fromnode>node1</fromnode><fromport>p1</fromport>
88 <tonode>node3</tonode> <toport>p1</toport> </datalink>
89 <datalink> <fromnode>node1</fromnode><fromport>p1</fromport>
90 <tonode>node2</tonode> <toport>p1</toport> </datalink>
91 <datalink> <fromnode>node2</fromnode><fromport>p1</fromport>
92 <tonode>node4</tonode> <toport>p1</toport> </datalink>
93 <datalink> <fromnode>node3</fromnode><fromport>p1</fromport>
94 <tonode>node5</tonode> <toport>p1</toport> </datalink>
95 <datalink> <fromnode>node1</fromnode><fromport>p1</fromport>
96 <tonode>c.node1</tonode> <toport>p1</toport> </datalink>
98 <parameter> <tonode>node1</tonode> <toport>p1</toport>
99 <value><int>32356</int> </value>