mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 06:28:09 +11:00
12 lines
172 B
Plaintext
12 lines
172 B
Plaintext
( EMIT is needed for this unit to compile )
|
|
|
|
: (print)
|
|
BEGIN
|
|
C@+ ( a+1 c )
|
|
( exit if null )
|
|
DUP NOT IF 2DROP EXIT THEN
|
|
EMIT ( a )
|
|
AGAIN
|
|
;
|
|
|