mirror of
https://github.com/nineties/planckforth
synced 2024-12-24 21:58:37 +01:00
Merge pull request #55 from qartis/use-depth-for-.s
Use 'depth' in definition of '.s'
This commit is contained in:
commit
f7356eb63b
1 changed files with 1 additions and 1 deletions
|
@ -1633,7 +1633,7 @@ do-stack 16 cells + do-sp !
|
|||
: rdepth rp0 rp@ - cell / ;
|
||||
|
||||
: .s ( -- )
|
||||
sp0 sp@ - cell- cell / ( depth of the stack )
|
||||
depth
|
||||
'<' emit 0 u.r '>' emit space
|
||||
sp@ sp0 ( beg end )
|
||||
begin 2dup < while
|
||||
|
|
Loading…
Reference in a new issue