>1
A=61456:B=61441:C=61457:D=1
>2 WAIT A,D,D:POKE B,PEEK(C):GOTO 2
On Tue, 2 Jan 2007, dwight elvey wrote:
As Lee shows, not having to interpret the numbers
each time
should speed things up. Reading decimal numbers requires
division. That is just about the slowest thing the computer can
do. If the values are stored in variables, they are already converted
to a computer friendly format.
I'm coming in late on this discusssion, and I don't even know what machine
we're talking about.
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?
- John