home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d9xx
/
d969
/
ace.lha
/
ACE
/
ACE-2.0.lha
/
PRGS.lha
/
ShellUtils
/
base.b
next >
Wrap
Text File
|
1994-01-16
|
312b
|
21 lines
deflng x
SUB usage
print "usage: base <decimal number>"
stop
END SUB
if argcount<>1 then
usage
else
if arg$(1)="?" then
usage
else
x=val(arg$(1))
print " Decimal:";x
print "Hexadecimal: ";hex$(x)
print " Octal: ";oct$(x)
print " Binary: ";bin$(x)
end if
end if