SilentScreamer
Senior Member
I have posted two bits of code below, they both pause for 10,000ms but the do...loop option is 1 byte smaller. Is there any advantage to using for..next over do...loop other than it is a little less to type?
EDIT: Before anyone says anything I know pause 10000 works, I did this as a test to see if for...next used less space.
Code:
for b0 = 0 to 100
pause 10
next
Code:
do
inc b0
pause 10
loop until b0 = 100
EDIT: Before anyone says anything I know pause 10000 works, I did this as a test to see if for...next used less space.