>> >1 A=61456:B=61441:C=61457:D=1
>> >2 WAIT A,D,D:POKE B,PEEK(C):GOTO 2
>I'm coming in late on this discusssion, and I don't even know what machine
>we're talking about.
On Tue, 2 Jan 2007, John Foust wrote:
I questioned the assumption that the interpreter would
parse
the integer value from source code each time. Wouldn't most BASICs
tokenize to a 16-bit integer in memory, once at loading?
BASICA, and other 5150 BASICs store those numbers in RAM as 32 bit
floating point! Thus, 10 X = [some number that does not come out evenly
in IEEE floating point], will actually come back differently when LISTed!
It is true that the code being executed is tokenized, NOT run from what we
think of as source code. But, at least in THOSE BASICs, all numbers are
floating point, unless explicitly declared otherwise, There is a
noticable effect on performance by declaring the variables to be integer.
2) WHAT machine, and what version of BASIC are we talking about here?
--
Grumpy Ol' Fred cisin at
xenosoft.com