Re: formatting numeric output
Marcos Cruz <[email protected]>
| Newsgroups | gmane.comp.lang.forth.gforth |
|---|---|
| Message-ID | <20180207191020.GB2847@raspesis> |
En/Je/On 2018-02-07 13:02, J. David Boyd escribió / skribis / wrote :
> Is there an easier way to do this?
The zero should be replaced with `s>d`.
And you could shorten this:
> # # # # bl hold
> # # # # bl hold
> # # # # bl hold
> # # # # bl hold
> # # # # bl hold
> # # # # bl hold
> # # # # bl hold
> # # # #
For example, this way:
7 0 do # # # # bl hold loop # # # #
--
Marcos Cruz
http://programandala.net