infinitejl Posted February 10, 2012 Share Posted February 10, 2012 something like: if finddtm(DTMgray,grayx,grayy,1002, 111,1002, 111) and finddtm(DTMpurple,purplex,purpley,1002, 111,1002, 111) and finddtm(DTMpaleblue,palebluex,palebluey,1002, 111,1002, 111) then begin end; is it possible? if so, how? Quote Link to comment Share on other sites More sharing options...
KingKong Posted February 11, 2012 Share Posted February 11, 2012 The same way you did it, but enclose the 3 statements in parentheses: [scar] if (finddtm(DTMgray,grayx,grayy,1002, 111,1002, 111)) and (finddtm(DTMpurple,purplex,purpley,1002, 111,1002, 111)) and (finddtm(DTMpaleblue,palebluex,palebluey,1002, 111,1002, 111)) then begin //do something here end; [/scar] Quote Link to comment Share on other sites More sharing options...
infinitejl Posted February 11, 2012 Author Share Posted February 11, 2012 alright! thanks =D Quote Link to comment Share on other sites More sharing options...
FHannes Posted February 11, 2012 Share Posted February 11, 2012 You don't really need the parentheses, it's optional... Quote Link to comment Share on other sites More sharing options...