ok, i think you guys are kind of not getting a solution to the main question, so i will therefore try to help hows this :
Code:
alias for {
  ;useage :
  ;/for [var] [startvar] [endvar] [command]
  var %var $$1
  set [ %var ] [ $$2 ]
  while ([ %var ] <= $$3) {
    $replace($4-,$1,$eval(%var,1))
    inc [ %var ]
  }
}
DISCLAIMER: works for me! extensive use may cause brain damage...
dont use it for too complex of things... it may not like you ever...