<div dir="ltr">+1 👍<br>Maybe add here [0] a link to this thread [1]?<br>Regards<br>Gianluigi<br>[0] <a href="http://gambaswiki.org/wiki/cat/error">http://gambaswiki.org/wiki/cat/error</a><br>[1] <a href="https://lists.gambas-basic.org/pipermail/user/2018-August/065135.html">https://lists.gambas-basic.org/pipermail/user/2018-August/065135.html</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-08-03 7:31 GMT+02:00 Fabien Bodard <span dir="ltr"><<a href="mailto:gambas.fr@gmail.com" target="_blank">gambas.fr@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Nevertheless ... great thread about error management 😊<div dir="auto"><br></div><div dir="auto">Thank you Tobias and others. </div><div dir="auto"><br></div><div dir="auto">Maybe a copy in a nota bene part of some explanation can be an help...</div></div><br><div class="gmail_quote"><div dir="ltr">Le jeu. 2 août 2018 21:14, PICCORO McKAY Lenz <<a href="mailto:mckaygerhard@gmail.com" target="_blank">mckaygerhard@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>i'm glad tobias answer me! <br><br>also noted after that, many others do it! <br><br>but as noted without the second "unwarranted arrogance" mail.. maybe never will happened!<br><br></div>Was it really necessary to send a second email with a warm tone so that they could answer me?<br><br>We must all improve, not only I believe! AND i read carefully that second mail, it's not so "arrogance" as you pointed!<br><br></div>be easy! men!<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_6684572494373666125m_8060065353067913615gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" rel="noreferrer" target="_blank">http://qgqlochekone.blogspot.<wbr>com</a></font></div></div></div>
<br><div class="gmail_quote">2018-08-02 14:57 GMT-04:00 Jussi Lahtinen <span dir="ltr"><<a href="mailto:jussi.lahtinen@gmail.com" rel="noreferrer" target="_blank">jussi.lahtinen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>"The great silence" may just be due your completely unwarranted arrogance towards others. <br></div><span class="m_6684572494373666125m_8060065353067913615HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Jussi<br></div></font></span></div><div class="m_6684572494373666125m_8060065353067913615HOEnZb"><div class="m_6684572494373666125m_8060065353067913615h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 2, 2018 at 9:12 PM, PICCORO McKAY Lenz <span dir="ltr"><<a href="mailto:mckaygerhard@gmail.com" rel="noreferrer" target="_blank">mckaygerhard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ah yeah, must be send to list, so then:<br><br><div><div><div><div><div>> an exceptional product<br><br></div>so it's a product or a hobby? we need a product i try to make a product from a product<span class="m_6684572494373666125m_8060065353067913615m_8802466375748538369m_-630082626437199689gmail-im">, i rmenber that someone said in old mail that does all of this for hobby.. well sorry someone here confusing this excelent peice of software with a product to make products!<span><br><br>> Tobias never said Catch shadows the error<br><br></span></span></div><div>i was my fault, i means that tobias said that try shadowns the error, seems 
you make same mistake like me, do not read the complete threath with 
caution... <br><br></div>so i not critizing the wiki, but that are not pointed in wiki, i try to point that experts users will begin being novice users<br><br></div>now mails have lot of examples, recomendations, expert people, puff, etc etc but in the begining a great silence was!<br></div><br></div><br></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_6684572494373666125m_8060065353067913615m_8802466375748538369m_-630082626437199689gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" rel="noreferrer" target="_blank">http://qgqlochekone.blogspot.<wbr>com</a></font></div></div></div>
<br></span><div><div class="m_6684572494373666125m_8060065353067913615m_8802466375748538369h5"><div class="gmail_quote">2018-08-02 13:50 GMT-04:00 Tony Morehen <span dir="ltr"><<a href="mailto:tmorehen@ajm-software.com" rel="noreferrer" target="_blank">tmorehen@ajm-software.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_6684572494373666125m_8060065353067913615m_8802466375748538369m_-630082626437199689HOEnZb"><div class="m_6684572494373666125m_8060065353067913615m_8802466375748538369m_-630082626437199689h5">The wiki/documentation is perfectly clear about Try, Catch, and Finally.  Further, Tobias never said Catch shadows the error!<br>
<br>
Try shadows the error, not Catch.  Catch is an error handler.  It behaves as an error handler should ie the error is handled, no need to raise an exception.<br>
<br>
Here's the standard error process:<br>
<br>
1) Fill in the Error object<br>
2) Raise an exception<br>
<br>
This is equivalent to On Error Goto 0<br>
<br>
Error process with a Try at the start of statement<br>
<br>
1) Fill in Error object<br>
2) Resume at the statement following the Try<br>
<br>
This is equivalent to:<br>
    On Error Resume Next<br>
    statement<br>
    On Error Goto 0<br>
<br>
Error process with a Catch block<br>
<br>
1) Fill in the Error object<br>
2) Resume at the statement following the Catch<br>
<br>
This is equivalent to:<br>
    On Error Goto Catch<br>
    statements<br>
    Return<br>
   Catch<br>
    error handling code<br>
    Return<br>
<br>
Error Process with Catch and Finally blocks<br>
<br>
1) Fill in the Error object<br>
2) Resume at the statement following the Catch<br>
3) Execute the Finally code.  Finally code is executed even if there is no error.<br>
<br>
This is equivalent to:<br>
    On Error Goto Catch<br>
    statements<br>
    Goto Finally<br>
   Catch<br>
    error handling code<br>
    Goto Finally<br>
   Finally<br>
    code that is always executed<br>
<br>
A final word of caution  Criticizing the wiki as bluntly as you do, particularly when that criticism is unwarranted, is likely to irritate the people that provide us such an exceptional product.  Try framing this sort of criticism as a question, such as "Do we need to add something to the wiki to make this explicit and avoid confusing novices?"<br>
<br>
<br>
<br>
<br>
<br></div></div><span>
On 2018-08-02 12:04 PM, PICCORO McKAY Lenz wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
i cited that wiki does not say that error are shadowed by the catch! its very important information for novices, taking in consideratino the languaje barrier<br>
<br>
seems we need more vision here!<br>
<br>
<br>
Lenz McKAY Gerardo (PICCORO)<br>
<a href="http://qgqlochekone.blogspot.com" rel="noreferrer noreferrer" target="_blank">http://qgqlochekone.blogspot.<wbr>com</a><br>
<br></span>
2018-08-02 11:56 GMT-04:00 Jussi Lahtinen <<a href="mailto:jussi.lahtinen@gmail.com" rel="noreferrer" target="_blank">jussi.lahtinen@gmail.com</a> <mailto:<a href="mailto:jussi.lahtinen@gmail.com" rel="noreferrer" target="_blank">jussi.lahtinen@gmail.<wbr>com</a>>>:<span><br>
<br>
<br>
        well i comming from java and C and its common ofr us use<br>
        try/cacht as duple<br>
<br>
<br>
    Incorrect. There is no try/catch in C.<br>
<br>
<br>
    Jussi<br>
<br>
<br>
<br>
    ----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br>
<br>
<br>
<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br>
</span></blockquote><div class="m_6684572494373666125m_8060065353067913615m_8802466375748538369m_-630082626437199689HOEnZb"><div class="m_6684572494373666125m_8060065353067913615m_8802466375748538369m_-630082626437199689h5">
<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</div></div></blockquote></div><br></div></div></div>
<br><br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br></blockquote></div><br></div>
</div></div><br><br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br></blockquote></div><br></div>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div>
<br><br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br></blockquote></div><br></div>