<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
Hello Pierre,<br>
<br>
100000 is indeed the "Final integration time" parameter in the
Simulation->Setup menu.<br>
By using exists() (you might want to use <a
href="https://help.scilab.org/docs/5.5.2/en_US/isdef.html">isdef()</a>
instead) you don't override the existing parameters,<br>
and in Scilab, functions can see the superior-scope variables (here,
'tf').<br>
So just write "tmf=3; tf=2;" in your context and everything should
run fine.<br>
<br>
Regards,<br>
Paul<br>
<br>
<div class="moz-cite-prefix">On 06/10/2016 06:47 PM, Perrichon
wrote:<br>
</div>
<blockquote
cite="mid:!&!AAAAAAAAAAAuAAAAAAAAAHTRbxuKTONJuQv%2FnFKuTP8BANlTnCJhprtFudq2LHCBs8EBACQA%2F%2F8AABAAAAA9u6KHqmapS6f8dyo0uZe8AQAAAAA=@wanadoo.fr"
type="cite">
<meta name="Microsoft Theme 2.00" content="strtedge 111">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Arial",sans-serif;
color:black;
mso-fareast-language:EN-US;}
h1
{mso-style-priority:9;
mso-style-link:"Titre 1 Car";
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:16.0pt;
font-family:"Arial",sans-serif;
color:black;
mso-fareast-language:EN-US;}
h2
{mso-style-priority:9;
mso-style-link:"Titre 2 Car";
margin-top:2.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:14.0pt;
font-family:"Arial",sans-serif;
color:black;
mso-fareast-language:EN-US;
font-weight:normal;}
h3
{mso-style-priority:9;
mso-style-link:"Titre 3 Car";
margin-top:2.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:13.0pt;
font-family:"Arial",sans-serif;
color:black;
mso-fareast-language:EN-US;
font-weight:normal;}
h4
{mso-style-priority:9;
mso-style-link:"Titre 4 Car";
margin-top:2.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:14.0pt;
font-family:"Arial",sans-serif;
color:black;
mso-fareast-language:EN-US;
font-weight:normal;}
h5
{mso-style-priority:9;
mso-style-link:"Titre 5 Car";
margin-top:2.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:13.0pt;
font-family:"Arial",sans-serif;
color:black;
mso-fareast-language:EN-US;
font-weight:normal;}
h6
{mso-style-priority:9;
mso-style-link:"Titre 6 Car";
margin-top:2.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:11.0pt;
font-family:"Arial",sans-serif;
color:black;
mso-fareast-language:EN-US;
font-weight:normal;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#003399;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#660000;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.Titre1Car
{mso-style-name:"Titre 1 Car";
mso-style-priority:9;
mso-style-link:"Titre 1";
font-family:"Arial",sans-serif;
color:black;
font-weight:bold;}
span.Titre2Car
{mso-style-name:"Titre 2 Car";
mso-style-priority:9;
mso-style-link:"Titre 2";
font-family:"Arial",sans-serif;
color:black;}
span.Titre3Car
{mso-style-name:"Titre 3 Car";
mso-style-priority:9;
mso-style-link:"Titre 3";
font-family:"Arial",sans-serif;
color:black;}
span.Titre4Car
{mso-style-name:"Titre 4 Car";
mso-style-priority:9;
mso-style-link:"Titre 4";
font-family:"Arial",sans-serif;
color:black;}
span.Titre5Car
{mso-style-name:"Titre 5 Car";
mso-style-priority:9;
mso-style-link:"Titre 5";
font-family:"Arial",sans-serif;
color:black;}
span.Titre6Car
{mso-style-name:"Titre 6 Car";
mso-style-priority:9;
mso-style-link:"Titre 6";
font-family:"Arial",sans-serif;
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><img
src="cid:part2.09090804.08000901@scilab-enterprises.com"
v:src="imap://paul%2Ebignier%40scilab-enterprises%2Ecom@.scilab-enterprises.com:993/fetch%3EUID%3E.INBOX%3E36596?header=quotebody&part=1.1.2&filename=image001.gif"
v:shapes="_x0000_Mail" class="shape"
style="display:none;width:0;height:0" height="0" width="0"><!--[if gte mso 9]><xml>
<v:background id="_x0000_s1025" o:bwmode="white" o:targetscreensize="1024,768">
<v:fill src="imap://paul%2Ebignier%40scilab-enterprises%2Ecom@.scilab-enterprises.com:993/fetch%3EUID%3E.INBOX%3E36596?header=quotebody&part=1.1.2&filename=image001.gif" o:title="strbkgde" type="frame" />
</v:background></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt">Hello<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">I retrieve
an old xcos program about hydraulic simulation.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Worry :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">A superblock
containing a vairable « tf « doesn’t match the value
programmed in the initialization part.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">If « tf » a
reserved word and where can I find a reserved list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Or is it a
bugg ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Are other
variables concerned?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Thanks for
yout help<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Regards.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR"><img
style="width:4.4666in;height:3.125in" id="Image_x0020_1"
src="cid:part3.02060205.06010703@scilab-enterprises.com"
height="300" width="429"></span><span
style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Paul BIGNIER
Development engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.68
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a></pre>
</body>
</html>