Forum Discussion

santu_karnati's avatar
santu_karnati
Occasional Contributor
12 years ago

How to compare two numbers using C#Script in testcomplete 9

iRow=4



for(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.