[Gambas-user] static const?

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Apr 14 02:17:27 CEST 2010


> Just in case:
>
> REPEAT
>     b = TabStrip3.Count ' In fact, this does nothing usefull
>     INC a
> UNTIL a < TabStrip3.Count OR TabStrip3[a].Caption = IdCaption

 This doesn't make same functionality.
 Because if ldCaption doesn't match to any of tabstrip captions,
 function will still answer TabStrip3.Count instead of zero.
 In short, you cannot remove IF THEN construct.

 I think I have done enough errors for this day (I'm going to sleep).

Jussi




More information about the User mailing list