🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6481

Reading QuickBasic (MBF) floating point numbers from C/C++

#6481
From: Doug Luecke
Date: Mon, 14 Dec 1992 17:05
17 lines
1303 bytes
I need to convert floating point numbers stored in Microsoft Binary Format 
(MBF) to the native float type used by Borland C++.  The project I'm
currently working on needs to manipulate data read from files created by a
Quick Basic program.  This data consists of integers, strings, and floating
point numbers.  The floats aren't compatible with the native BCC format.

Does anyone know the format of the floating point numbers used by Quick
Basic in MBF?  Is there any C or C++ code around that can convert MBF
floats into native float numbers?  I can also write the routines myself
if I can get my hands on some documentation on the MBF float format.

Thanks muchly,
doug
-- 
Doug Luecke                      UUCP:      uunet!iex!rocker!doug
Terzon Systems, Inc.             INTERNET:  iex!rocker!doug@uunet.uu.net
Richardson, Texas                MABELL:    214/234-8222
Technical Details
Message-ID: <1992Dec14.170554.10433@rocker.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!iex!rocker!doug

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!iex!rocker!doug
From: doug@rocker.uucp (Doug Luecke)
Newsgroups: comp.os.msdos.programmer
Subject: Reading QuickBasic (MBF) floating point numbers from C/C++
Message-ID: <1992Dec14.170554.10433@rocker.uucp>
Date: 14 Dec 92 17:05:54 GMT
Organization: Terzon Systems, Inc.,   Richardson, Texas
Lines: 17