home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
forth
/
compiler
/
fpc
/
source
/
p3_6dc.seq
< prev
next >
Wrap
Text File
|
1990-04-04
|
566b
|
20 lines
\ NTABLE PROGRAM FOR P3.6
\ BY DICKSON CHENG 04/04/90 20:39:05.93
: NTABLE ( n -- )
CR ." unsigned" ." signed" ." unsigned"
." signed" ." unsigned" ." signed"
CR ." decimal" ." decimal" ." octal"
." octal" ." hex" ." hex"
20 0 DO
CR
DECIMAL DUP 10 U.R DUP 10 .R
OCTAL DUP 10 U.R DUP 10 .R
HEX DUP 10 U.R DUP 10 .R
1 +
LOOP
DROP DECIMAL ;