home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: OtherApp
/
OtherApp.zip
/
OSHEXDEC.ZIP
/
OSHEXDEC.DOC
next >
Wrap
Text File
|
1989-05-01
|
631b
|
15 lines
OS2 HEX-DECIMAL CONVERTER
J.P.Davis 5/1/89
This is not a TSR program. It may be called in either a full-screen
or partial window under OS2. Operation is obvious except for inclusion
of the <&> suffix when input is a hex number. Without the suffix, values
returned are correct if the hex input is <32K or >64K. Between these
limits the two's complement is returned if the suffix is omitted. Use
the <&> suffix (in addition to the <&H> prefix) and you don't need to
think about it any more.
This short program was compiled for OS2 using the Microsoft BASIC 6.0
Compiler.