SRL Archive - Help

what am i doing wrong?


Asalci

2012-02-18 23:07:51

I am getting a type mismatch error with this

If FindObjCustom(aX, bY ('Open','pen'), (3027509, 3883332, 1383712), 10,) then

everytime i try to compile i get the error, what am i doing wrong and what is it caused by?, thanks.

Ashaman88

2012-02-18 23:18:27

I don't know the exact layout of that function off the top of my head but

If FindObjCustom(aX, bY ['Open','pen'], [3027509, 3883332, 1383712], 10) then

I know that last comma should be taken out. Try it like that

PatDuffy

2012-02-18 23:24:22

Just to clarify the reason behind his fix, for Arrays you use [](brackets) to enclose them not parenthesis.