<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>To help debugging a Scilab code you may use:<br><br>- the pause instruction at the point where an error is detected (editing the code)<br>- the setbpt command that can create a breakpoint at the specified line of the specified code. Quite similar to "pause" but do not requires to modify the source code.<br>- the errcatch(errn,'pause') instruction, that will make the code pause just after the error with number errn arises.<br>- finally you may also use the copy paste technic (copy one source code instruction at a time and paste it into the console)<br>I hope this will help you.<br><br>Serge Steer<br>INRIA<br><br><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><b>De: </b>"Jaundre Venter" <jaundreventer@gmail.com><br><b>À: </b>users@lists.scilab.org<br><b>Envoyé: </b>Mercredi 3 Août 2011 09:56:25<br><b>Objet: </b>[scilab-Users] Check code on SCILAB``<br><br><div>Hi all</div>
<div> </div>
<div>I am busy with 9 ordinary differential equations and are getting the wrong values and results and a few errors.</div>
<div> </div>
<div>Now I just want to know is there like a "Check code/step in run or a debug run"  you can insert or do in SCILAB, to ask SCILAB to run the model and to stop if there is a error or to give you where you inserted the "Check code/step in run or a debug run" the results and if you are happy you just hit enter and then it goes to next line? I know visual basics can do that as I heard so I was just wondering if SCILAB can do it as well.</div>

<div> </div>
<div>Then I am getting confuse with when to use a "comma, a semi comma, brackets or square brackets"</div>
<div>What and when do you normaly use "comma, a semi comma, brackets or square brackets" because I think I am not using it correctly?</div>
<div> </div>
<div>Thanks</div>
</blockquote><br></div></body></html>