I don't get it. Is this a loop error in thinkscript? The first case should enter as true and add B = 1, then the rest of the cases should enter as false and add B = 10. But the graph only shows B = 10.
Code:
declare lower;
def A = 1 + A [1];
def b;
if A == 1 {
b = 1;
} else {
b = 10;
}
plot TotalB = b;
plot TotalA = A;
Last edited: