mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
u.r and .r does not output following space
This commit is contained in:
parent
76c605af84
commit
0327f5e68b
1 changed files with 2 additions and 2 deletions
|
@ -982,7 +982,7 @@ decimal \ set default to decimal
|
|||
\ Display unsigned integer u right aligned in n characters.
|
||||
: u.r ( u n -- )
|
||||
over uwidth
|
||||
- spaces u.
|
||||
- spaces base @ swap print-uint
|
||||
;
|
||||
|
||||
\ Display signed integer n1 right aligned in n2 characters.
|
||||
|
@ -994,7 +994,7 @@ decimal \ set default to decimal
|
|||
dup uwidth 1+
|
||||
rot swap - spaces
|
||||
'-' emit
|
||||
u.
|
||||
base @ swap print-uint
|
||||
then
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue