[Gambas-user] Bad logic on my part

Me adamnt42 at gmail.com
Thu Aug 16 07:46:39 CEST 2018


What the *@^^& have I got wrong here?

Dim Data As Variant[]
If (TypeOf(Data[13]) = gb.Integer And If Data[13] > 3) Then ...

gives a "Missing ")" in class ..." message at the compile time.

Data[13] is either an integer or a string.

(Leave town for 30 seconds and they change everything.)

tia
b
-- 
Me <adamnt42 at gmail.com>


More information about the User mailing list