[Gambas-user] Short-circuit evaluation question

Gianluigi bagonergi at gmail.com
Fri Jan 26 13:24:56 CET 2018


Sorry, too many useless things. ;-D
  Dim ss as String[]
Because this works:
  If IsNull(ss) Or If ss.Count = 0 Then Return
Because this does not work:
  If Not IsNull(ss) Or If ss.Count > 0 Then
    '...
  Endif

Regards
Gianluigi

2018-01-26 12:24 GMT+01:00 Gianluigi <bagonergi at gmail.com>:

> See the attached project
>
> Regards
> Gianluigi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180126/1dc4092c/attachment.html>


More information about the User mailing list