retroforth/interface/double.retro
2022-07-25 12:15:34 +00:00

13 lines
206 B
Forth

~~~
:double:var (nns-)
d:create swap , , ;
:double:fetch (a-nn)
fetch-next swap fetch ;
:double:store (nna-)
&swap dip store-next store ;
:double:const (nns-)
double:var &double:fetch does ;
~~~