Code:
set -u30 %test123 1
while (5 >= %test123) {
  echo var: %test123
  set -k %test123 = $calc(%test123 + 1)
}


Why does the above code not echo 1-5 like it should? Instead it echos 1 and stops - %test123 = 2 at the end of the while loop.

Thanks


Ninko