answersLogoWhite

0


Best Answer

A FOR - NEXT loop sets up a process that automatically performs a function several times.

eg. FOR J = 1 TO 100

Will set a counter that will count up to 100 times.

After this command you program a function or several functions.

When the lines of code have been operated on, the end of the sequence is terminated, with the command NEXT.

This will automatically add one to the counter and return to the start of the

FOR J =1 to 100 line.

If by adding one to the counter exceeds 100, then the program will skip over the NEXT command and drop down to the next command.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the function of for next in gw basic?
Write your answer...
Submit
Still have questions?
magnify glass
imp