🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: a.bsu.programming
Article #87285

Re: MKSMBF$ CVSMBF() ? Help needed ( Visual Basic )

#87285
From: Kevin G. Rhoads
Date: Tue, 29 Jun 1999 00:00
23 lines
2194 bytes
Those functions exist SOLELY to covert to/from the old Microsoft Binary
Format (a.k.a., MBF) real/float numbers and the new IEEE format reals.

MS abandoned the MS MBF years ago, you should see if you can too.

Unless you have some really old EXEs built with old MS tools that still 
generate MBF format reals into files, then CONVERT the files to IEEE
format.

Alternatively, store reals in the files by printing to ASCII (yes, you will
lose some accuracy in the conversions, but you already are in the MBF
<-> IEEE)

If you MUST continue using MBF format numbers, thenyou will need
to write conversion code to assist the VB.  The conversion can be performed
in ASM, C or even VB.  MS used to have documents on the MBF format
and how to convert to IEEE format.  Check out their site . . .

AND PLEASE STOP POSTING TO SO MANY SITES!
-- 
Kevin G. Rhoads, Ph.D. (Linearity is a convenient fiction.)
T_Rhoads@NO_SPAM.MSN.com
krhoads@NO_SPAM.cmpnetmail.com
Technical Details
Message-ID: <01bec239$b06b50a0$LocalHost@stupidwin95>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7la0f6$jjh$1@news.worldonline.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f6aa,75be0356e73eb54d
X-Google-Attributes: gid10f6aa,public
X-Google-Thread: 11431d,75be0356e73eb54d
X-Google-Attributes: gid11431d,public
X-Google-Thread: 1053e6,75be0356e73eb54d
X-Google-Attributes: gid1053e6,public
X-Google-Thread: 10804c,75be0356e73eb54d
X-Google-Attributes: gid10804c,public
X-Google-Thread: 102bfa,75be0356e73eb54d
X-Google-Attributes: gid102bfa,public
X-Google-Thread: 107d8b,75be0356e73eb54d
X-Google-Attributes: gid107d8b,public
X-Google-Thread: 108717,75be0356e73eb54d
X-Google-Attributes: gid108717,public
X-Google-Thread: 10226d,75be0356e73eb54d
X-Google-Attributes: gid10226d,public
From: "Kevin G. Rhoads" <T_Rhoads@NoSpam.CLASSIC.MSN.COM>
Subject: Re: MKSMBF$   CVSMBF() ?  Help needed  ( Visual Basic )
Date: 1999/06/29
Message-ID: <01bec239$b06b50a0$LocalHost@stupidwin95>
X-Deja-AN: 495260336
References: <7la0f6$jjh$1@news.worldonline.nl>
Newsgroups: a.bsu.programming,alt.comp.shareware.programmer,alt.msdos.programmer,alt.mud.programming,alt.talkers.programming,comp.os.msdos.programmer,comp.programming,fr.comp.os.ms-windows.programmation,francom.programmation,han.comp.os.ms-windows.programmin