santu_karnatiOccasional Contributor13 years agoSolvedHow to compare two numbers using C#Script in testcomplete 9iRow=4for(i=0;i<10;i++){ if(i=iRow) { log["message"]("matched"); }}If I am trying to compare the values for i=0 also it is writing as matched... Please get the exact logic and syntax for it.Philip_Baird13 years agoif( i == iRow ) { // log}
2 RepliesReplies sorted by Most LikedPhilip_BairdCommunity Hero13 years agoif( i == iRow ) { // log}santu_karnatiOccasional Contributor13 years agoThanks.. :)
Recent DiscussionsADO Pipeline Execution Fail issue after TC\TE upgradeRuntimeError: The object does not existFields data to compare?
Related ContentC#Scripting Mateialsforeach loops in JScript / C#Script...C# Script Multidimensional array length