03-13-2022, 11:22 AM
Both are nearly the same. But if you are using a counter variable within the WHILE loop, a FOR / NEXT will be optimal because it will increase the variable for you and this is optimized internally during the traduction to assembler.