Login
Back to forumSee the full topicGo to last reply

Posted By

MMS
on 2019-05-24
15:41:31
 Re: Maximum Dimension of arrays in Basic

WOW! It looks GREAT! Also a very nice achievement to show such complex objects on a simple 8bit 64K machine. Congrats!

I read a little: Integers takes much less memory, but in normal BASIC it could be slower(!) than the floating point calculations.
"Integer (16 Bit): This is a rarely used type. Integer variables carry a '%' at the end of their name (eg. X%). Note that all computations are performed with float precision and conversion to Integer is only performed when the value is assigned to a variable. Thus Integer math is SLOWER (!) than Float math."

On the other hand, when you compile the program, the things may turn around, and the integers arithmetic could be way faster (as the continuous conversion does not happen). It was a suggestion by SVS or Csabo before Austrospeed compilation some years ago, here we can do a second try, as here are some heavy calculations... It did not work as expected for simple FOR..NEXT, but for real calculations it should have a real impact.



Back to top


Copyright © Plus/4 World Team, 2001-2024