It's because you didn't define B again. Example: ACLS VAR B B=90:TEST B=50:TEST DEF TEST VAR B B=B+1 ?B END That should work.