Code:
execute { return $1- }
for {
  execute $1
  if $right($3,2) == ++ { var %type inc } 
  elseif $right($3,2) == -- { var %type dec }
  while $gettok($2,1,32) $gettok($2,2,32) $gettok($2,3,32) { 
    %type $left($3,-2)
    execute $4-
  }
}

typing:
//.echo -q $for(var %x 1,%x <= 10,%x++,echo -s %x)
gives the following error:
-
* /while: '10' unknown operator (line 13, aliases.ini)
-
anyone know why?


New username: hixxy