<div dir="ltr">Hello ,<div><br></div><div>when I add   <span style="color:rgb(255,0,0);font-size:12.8000001907349px">srand( time(NULL) );  </span>at the begining of my code it works and it give me at every simulation a different value of the variable a .</div><div><br></div><div>But Daniel you see that it is very bad idea can you tell me how can I use <span style="color:rgb(0,0,0);font-size:12px;line-height:14.3999996185303px">UniformRandomVariable or </span><span style="color:rgb(0,0,0);font-size:12px;line-height:14.3999996185303px">ExponentialRandomVariable  in order to get un integer between 0 and 4?? </span></div><div><span style="color:rgb(0,0,0);font-size:12px;line-height:14.3999996185303px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12px;line-height:14.3999996185303px">thnx a lot for help </span></div><div><font color="#ff0000"><span style="font-size:12.8000001907349px"><br></span></font><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(0,0,0)">Cordialement </span></div><div><span style="color:rgb(0,0,0)">Imen Dhiab</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">***************************************************************************************************</span><br></div><div><font color="#000000">Ingénieur Informatique diplômé de l'Ecole Nationale d'Ingénieurs de Sfax.</font></div><div><font color="#000000">Membre de l'unité de recherche SAGE (Systèmes Avancés en Génie Electrique), Ecole Nationale d'Ing</font><span style="color:rgb(0,0,0)">énieurs de Sousse.</span></div><div><font color="#000000">+216 53 59 19 88</font></div><div><font color="#000000">Pages personnelles : <a href="http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html" target="_blank">http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html</a></font></div><div>***************************************************************************************************</div></div></div>
</div></div>