Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2379

programming • Optimisation

$
0
0
When optimising a Basic program for speed etc. Is it any faster to run doing it this way

Code:

LET NUM_REELS% = 3DIM ReelMotor%(NUM_REELS%-1)FOR R%=0 TO NUM_REELS%-1   ... extra codeNEXT
rather than doing it this way

Code:

DIM ReelMotor%(2)FOR R%=0 TO 2   ... extra codeNEXT

Statistics: Posted by fizgog — Wed Dec 04, 2024 1:35 pm



Viewing all articles
Browse latest Browse all 2379

Trending Articles