Add k loop variable.
This commit is contained in:
@ -84,6 +84,7 @@ variable leaving
|
|||||||
: loop 1 aliteral postpone +loop ; immediate
|
: loop 1 aliteral postpone +loop ; immediate
|
||||||
: i ( -- n ) postpone r@ ; immediate
|
: i ( -- n ) postpone r@ ; immediate
|
||||||
: j ( -- n ) rp@ 3 cells - @ ;
|
: j ( -- n ) rp@ 3 cells - @ ;
|
||||||
|
: k ( -- n ) rp@ 5 cells - @ ;
|
||||||
|
|
||||||
( Exceptions )
|
( Exceptions )
|
||||||
variable handler
|
variable handler
|
||||||
|
|||||||
@ -97,6 +97,7 @@ e: check-boot
|
|||||||
out: throw
|
out: throw
|
||||||
out: catch
|
out: catch
|
||||||
out: handler
|
out: handler
|
||||||
|
out: k
|
||||||
out: j
|
out: j
|
||||||
out: i
|
out: i
|
||||||
out: loop
|
out: loop
|
||||||
|
|||||||
Reference in New Issue
Block a user