[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CP/M Mbasic 5.21



I've been messing around with Josh's 8080 board.

I XMODEM'd a basic program written in NorthStar Basic
over to Josh's board to play with.  After making a few
corrections for the different versions of Basic.  It almost
runs...

It's been awhile since I've wrote a basic program, but I
just don't understand why the CP/M ver of basic does this;

ALTAIR/IMSAI CPU CARD. 61K CP/M 2.2

WBOOT

a>MBASIC
BASIC-80 Rev. 5.21
[CP/M Version]
Copyright 1977-1981 (C) by Microsoft
Created: 28-Jul-81
31800 Bytes free
Ok


E=1
Ok
PRINT 4 * E
-2.41704E-35
Ok
Z=10
Ok
PRINT 4 * Z
-2.41704E-34
Ok


In my mind 4 * E should equal one
and 7 * Z should equal ten.

Why am I getting -2.xxxxEyy ?????