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
Merge branch 'master' into V9_dev
[modules/yacs.git]
/
src
/
yacsloader
/
samples
/
switch9.xml
diff --git
a/src/yacsloader/samples/switch9.xml
b/src/yacsloader/samples/switch9.xml
index 09bbffdeecc40d0f4eefb596cb80441f7aa98b76..8471859bb22d584e05faf08de00a5f71c27b050d 100644
(file)
--- a/
src/yacsloader/samples/switch9.xml
+++ b/
src/yacsloader/samples/switch9.xml
@@
-1,5
+1,5
@@
<!--
<!--
- Copyright (C) 2006-201
4
CEA/DEN, EDF R&D
+ Copyright (C) 2006-201
6
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
@@
-29,7
+29,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"/>
@@
-37,7
+37,7
@@
<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>
<inport name="p1" type="double"/>
<outport name="p1" type="double"/>
</inline>
@@
-47,7
+47,7
@@
<case id="1">
<inline name="n2" >
<script>
<case id="1">
<inline name="n2" >
<script>
- <code>print
p1
</code>
+ <code>print
(p1)
</code>
<code>p1=p1+20</code>
<code><![CDATA[condition=p1 < 40.]]> </code>
</script>
<code>p1=p1+20</code>
<code><![CDATA[condition=p1 < 40.]]> </code>
</script>
@@
-70,7
+70,7
@@
</case>
<default>
<inline name="n2" >
</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>