-
Display Number from For() Loop
Hi Peoples,
First of all, I am new to expressions. My goal is to display numbers between 0 and given input i.e. “a” on a new line(one below other). I did success to display initial number but my For() don’t iterate.
The code I tried is below for the source textvar text= ” “;
var i;
var a=5
for (i=0; i<=a; i++) {
text = “n=” + i + “\n”;
break;
}