--- stack/stack.c 2002/02/09 00:40:45 1.66 +++ stack/stack.c 2002/02/09 00:57:05 1.67 @@ -1256,8 +1256,13 @@ push_sym(env, "["); - for(i= start; i<= ending; i++) - push_int(&(env->head), i); + if(ending>=start) { + for(i= start; i<=ending; i++) + push_int(&(env->head), i); + } else { + for(i= start; i>=ending; i--) + push_int(&(env->head), i); + } push_sym(env, "["); pack(env); if(env->err) return;