<div dir="ltr">2018-06-19 16:06 GMT-04:00 Mayost Sharon <span dir="ltr"><<a href="mailto:sharon@455.co.il" target="_blank">sharon@455.co.il</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello<br>
<br>
How do I proceed to the next line<br>
If there is an error<br></blockquote><div>for cases when it's error format or error of invalid date just:<br><br>If Date(2018, 13, 1) Then<br><br></div><div>for others error might be a good question unless compared using Comp() as strings!<br><br></div><div>i dont know what other type of errors can be produced here!<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
For example, if the date is not correct<br>
<br>
' Gambas module file<br>
<br>
Public Sub Main()<br>
<br>
  Try Print Date(2018, 13, 1)<br>
<br>
  If Date(2018, 13, 1) Then<br>
<br>
  Endif<br>
<br>
End<br>
<br>
Thank you<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div><br></div></div>