Forum Discussion
ZooZoo
14 years agoOccasional Contributor
Yes Jared, already I have debugging my code.
I am facing the problem in comparison part. Am getting the correct value from note pad. Before comparing am displaying the value wt am getting from notepad.
It is displaying like
Pass
Pass
Fail
For reading the file am using ActiveXObject. My doubt is whether the format is getting changed or not?
var st1 = data[1];
Log["Message"](st1);
if(st1==”Pass”)
++pcount;
else
++fcount;
St1 is displaying as “Pass” am comparing the value st1==”Pass” it is getting failed.
Please let me know whether the comparison syntax needs to be changed or before comparing the value needs to change in some other format.
Thanks,
Lakshmi Priya