how do i use 'or' in a script? how can i write something like that in a script?
Simba Code:if find dtm1 or dtm2 or dtm3 or dtm4 then
begin
use something on the found dtm <- (dtm1 or dtm2 or dtm3 or dtm4)
end;
thanks
how do i use 'or' in a script? how can i write something like that in a script?
Simba Code:if find dtm1 or dtm2 or dtm3 or dtm4 then
begin
use something on the found dtm <- (dtm1 or dtm2 or dtm3 or dtm4)
end;
thanks
The code you posted would work just fine....
If of course you put in actual functions
Simply a GOD beast...
My Tutorials
that would work (If you are using it how I think you are trying to use it)
Simba Code:if (FindDTM1 or FindDTM2 or FindDTM3) then
Mouse();
Simba Code:if findDTM(dtm1) or findDTM(dtm2) or findDTM(dtm3) or findDTM(dtm4) then
begin
use something on the found dtm <- (dtm1 or dtm2 or dtm3 or dtm4)
end;
But I suggest:
Simba Code:setLength(dtms,4);
dtms[0] := DtmFromString('0a3290g3g5');
dtms[1] := DtmFromString('0a3290g3g5');
dtms[2] := DtmFromString('0a3290g3g5');
dtms[3] := DtmFromString('0a3290g3g5');
for i := 0 to High(dtms) do
if(findDTM(dtms[i])) then
// your code
Working on: Tithe Farmer
oh kk i almost had it =)
thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)