Path: utzoo!attcan!uunet!husc6!bloom-beacon!apple!well!rchao From: rchao@well.UUCP (Robert Chao) Newsgroups: comp.lang.c Subject: Need Help With MKS$ command in MS-BASIC/TURBO C,BAS Keywords: MKS,BASIC,TURBO,float Message-ID: <11014@well.UUCP> Date: 19 Mar 89 07:26:38 GMT References: <13068@steinmetz.ge.com> <102@servio.UUCP> <10138@socslgw.csl.sony.JUNET> <1783@dlvax2.datlog.co.uk> <3711@xyzzy.UUCP> <1644@vicorp.UUCP> <766@twwells.uucp> <1813@dlvax2.datlog.co.uk> Reply-To: rchao@well.UUCP (Robert Chao) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 9 I am trying to work with random-access files created by MicroSoft BASIC. Single-precision real numbers are created in MS BASIC by the command MKS$, which takes a number and makes it into a 4-char string. However, TURBO C and TURBO BASIC seem to use a different MKS$, so I can't correctly read the numbers. Does anyone know the algorithm used for TURBO's MKS$? Thanks R. Chao