mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-29 00:58:06 +11:00
3b66aefcd1
fixes #97
17 lines
182 B
Plaintext
17 lines
182 B
Plaintext
VARIABLE ACC
|
|
: _LIST ." Block " DUP . CRLF LIST ;
|
|
: _NUM
|
|
ACC @ SWAP _pdacc
|
|
IF _LIST 0 THEN
|
|
ACC !
|
|
;
|
|
: L BLK> @ _LIST ;
|
|
: B BLK> @ 1- BLK@ L ;
|
|
: N BLK> @ 1+ BLK@ L ;
|
|
|
|
|
|
|
|
|
|
|
|
|