HT BaaFly
2011-12-24 18:55:03
I've been trying to get 'or' to work in this little function for half an hour but in keeps throwing type mistmatch errors at me. I don't know hat the hell is wrong with it, can anyone spot the mistake?
Am I using or correctly?
If GetTextAtEx(124, 393, 10, UpCharsEx, False, False, 0, 10, 0, 810, False, tr_AllChars) = ('Enter the price you wish to sell for: |') or ('Enter the price you wish to buy for: |') then
begin
SendKeys(FloatToStr(round(decimal)) + chr(13), 200);
Wait(500 + Random(500)); Am I using or correctly?