Got a MSX2 (^_^), or is it a 2+?

Page 2/2
1 |

Par AuroraMSX

Paragon (1902)

Portrait de AuroraMSX

04-04-2005, 10:19

The basic 'for' loop is nice, the only thing I didn't know was how much time it should take to loop 1000 times...

If the difference between 1 or 2 secs is hard to count :-)

X=TIME:FOR I=0 TO 1000:NEXT:PRINT TIME-X

prints a value around 80 @ 3.5MHz machine, and about 40 for 7MHz
(81 and 38 resp. on my 8280)

Par ditman

Resident (35)

Portrait de ditman

04-04-2005, 16:25

Thanks Aurora, I would have looked for a TIME function, but once I had the computer... thanks for saving me the work...

BTW, why do you like so much one-line code? lol...... ':' is equal to 'new line' for BASIC interpreter or something like that? I've never seen that ':' stuff before coming to this forum Tongue

Page 2/2
1 |