ZephyrsFury
2009-07-04 19:07:20
Small change, two params were switched around to make it match other similar functions:
Old:
New:
ItemType and Identifier have been switched around. If your script complains about a type mismatch error with CountItems or ClickAllItems(Except) then switch your params around:
For example:
Change:
to:
Simple? Any objections btw?
"Da EssArrEll Devz"
Old:
function CountItems(Identifier: Integer; ItemType: string; tol: TIntegerArray): Integer;
and
function ClickAllItems(Identifier: Integer; ItemType, option: string; waitnum: Integer; tol: TIntegerArray):Integer;
New:
function CountItems(ItemType: string; Identifier: Integer; tol: TIntegerArray): Integer;
and
function ClickAllItems(ItemType: String; Identifier: Integer; option: string; waitnum: Integer; tol: TIntegerArray):Integer;
ItemType and Identifier have been switched around. If your script complains about a type mismatch error with CountItems or ClickAllItems(Except) then switch your params around:
For example:
Change:
C := CountItems(LogDTM, 'dtm', []);
to:
C := CountItems('dtm', LogDTM, []);
Simple? Any objections btw?
"Da EssArrEll Devz"