Progress display in console
Posted: Sun May 09, 2004 7:49 am
Is this code the right method to display progress inside console-mode?
The backspaces bring back the cursor to linestart.
The backspaces bring back the cursor to linestart.
Code: Select all
(define (repstr str num , lst)
(dotimes(x num) (push str lst))
(join lst))
(dolist(linestr inputlist)
..
..
..
(inc 'Loopcount)
(if (=(mod Loopcount 1000)0)
(print (string (repstr "\008" 30)"Processing Line: " Loopcount))
)
)