[Gambas-user] try if error

Mayost Sharon sharon at 455.co.il
Tue Jun 19 22:06:53 CEST 2018


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


More information about the User mailing list