home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
forth
/
compiler
/
fpc
/
source
/
l3p010.seq
< prev
next >
Wrap
Text File
|
1988-10-30
|
469b
|
15 lines
\ This stack print will print double numbers that are on the stack.
\ If there is an odd number of numbers on the stack or if the stack
\ has a mixed combination of singles and doubles you are likely to
\ get confusing results.
: .SD ( -- )
DEPTH ?DUP IF
0 ?DO DEPTH I - 1- PICK
DEPTH I - 2- PICK
D. 8 EMIT ASCII . EMIT
2 +LOOP
ELSE ." Empty" THEN ;