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 Expert13 years agoif( i == iRow ) { // log}santu_karnatiOccasional Contributor13 years agoThanks.. :)
Recent DiscussionsFind and Use a Sibling Object Starting from an AliasChild ObjectName Mapping not Working in Latest VersionThere was an attempt to perform an action on a zero-sized window
Related ContentCompare two web pages (TestComplete/VisualTest)C#Scripting Mateialsforeach loops in JScript / C#Script...