Handbook
Glossary
make-progress-bar ( percent length -- string )
Progress bars
Vocabulary
progress-bars
Inputs
percent
a real number between 0 and 1
length
an
integer
Outputs
string
a
string
Word description
Makes a progress bar
percent
completed that is
length
characters long.
Definition
USING:
kernel
;
IN:
progress-bars
:
make-progress-bar
( percent length -- string )
[
check-percent
]
[
check-length
]
bi*
61 45
(make-progress-bar)
;