Salome HOME
projects
/
modules
/
yacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Go on
[modules/yacs.git]
/
src
/
yacsloader
/
samples
/
switch4.xml
diff --git
a/src/yacsloader/samples/switch4.xml
b/src/yacsloader/samples/switch4.xml
index 9ba061a1dc15630c4272902d4d03a42395bc9925..4bfc1cdcf9b1e438888f16538a492d1d3799e97e 100644
(file)
--- a/
src/yacsloader/samples/switch4.xml
+++ b/
src/yacsloader/samples/switch4.xml
@@
-1,5
+1,5
@@
<!--
<!--
- Copyright (C) 2006-201
5
CEA/DEN, EDF R&D
+ Copyright (C) 2006-201
9
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
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@
-32,7
+32,7
@@
</inline>
<inline name="n2" >
<script>
</inline>
<inline name="n2" >
<script>
- <code>print
p1
</code>
+ <code>print
(p1)
</code>
</script>
<inport name="p1" type="double"/>
<outport name="p1" type="double"/>
</script>
<inport name="p1" type="double"/>
<outport name="p1" type="double"/>
@@
-40,21
+40,21
@@
<switch name="b1">
<case id="1">
<inline name="n2" >
<switch name="b1">
<case id="1">
<inline name="n2" >
- <script><code>print
p1
</code></script>
+ <script><code>print
(p1)
</code></script>
<inport name="p1" type="double"/>
<outport name="p1" type="double"/>
</inline>
</case>
<case id="3">
<inline name="n2" >
<inport name="p1" type="double"/>
<outport name="p1" type="double"/>
</inline>
</case>
<case id="3">
<inline name="n2" >
- <script><code>print
p1
</code></script>
+ <script><code>print
(p1)
</code></script>
<inport name="p1" type="double"/>
<outport name="p1" type="double"/>
</inline>
</case>
<default>
<inline name="n2" >
<inport name="p1" type="double"/>
<outport name="p1" type="double"/>
</inline>
</case>
<default>
<inline name="n2" >
- <script><code>print
p1
</code></script>
+ <script><code>print
(p1)
</code></script>
<inport name="p1" type="double"/>
<outport name="p1" type="double"/>
</inline>
<inport name="p1" type="double"/>
<outport name="p1" type="double"/>
</inline>