1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-26 17:18:05 +11:00
collapseos/blk/413

14 lines
250 B
Plaintext
Raw Normal View History

: '? WORD (find) ;
: '
'? (?br) [ 4 , ] EXIT
LIT< (wnf) (find) DROP EXECUTE
;
: ROLL
DUP NOT IF EXIT THEN
1+ DUP PICK ( n val )
SWAP 2 * (roll) ( val )
SWAP DROP
2020-04-26 11:54:07 +10:00
;
: 2OVER 3 PICK 3 PICK ;
: 2SWAP 3 ROLL 3 ROLL ;