[Gambas-user] try if error

Jussi Lahtinen jussi.lahtinen at gmail.com
Tue Jun 19 22:12:37 CEST 2018


If Error Then


Jussi

On Tue, Jun 19, 2018 at 11:06 PM, Mayost Sharon <sharon at 455.co.il> wrote:

> Hello
>
> How do I proceed to the next line
> If there is an error
>
> For example, if the date is not correct
>
> ' Gambas module file
>
> Public Sub Main()
>
>   Try Print Date(2018, 13, 1)
>
>   If Date(2018, 13, 1) Then
>
>   Endif
>
> End
>
> Thank you
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180619/509c985e/attachment.html>


More information about the User mailing list